Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

"How to Update Data Instance Based on Task Definition When Approving a Workflow?"

NO NameApr 18 2025

Hi, I'm currently building a workflow system and have already set up the task definitions and the workflow itself.

When a user opens the task detail page, there's an Approve button.
When this button is clicked, the task status is updated correctly.
However, the related data in the database (for example, the status and the user who approved it) does not get updated.

I want to know:
How can I capture the user who performed the approval and update the main data table accordingly when the Approve button is clicked?

For example:

  • User A clicks Approve on Task X
  • Then, in addition to marking the task as completed, the data instance should also be updated to something like:
    status: approved, approvedBy: User A

Currently, only the task definition gets updated, but the actual data instance does not change.

Thank you!

Comments
Post Details
Added on Apr 18 2025
6 comments
108 views