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!

Oracle Apex Workflows: Complete Task: Not authorized Error

Ren TDec 17 2024

Hello,

I'm new to oracle apex workflows. My requirement is I have to create a recommendation and once it is created , task will be created and it has to be approved/rejected. Once It is Approved few actions will be performed.

On Tasks Page, I clicked on the newly created task, side bar opened up but I don't see Approve/Reject button on any of the task because both the buttons have below conditions.

apex_approval.is_allowed (
p_task_id => :P14_TASK_ID,
p_operation => apex_approval.c_task_op_approve )

apex_approval.is_allowed (
p_task_id => :P14_TASK_ID,
p_operation => apex_approval.c_task_op_reject )

For debugging purpose I removed this server side conditions and clicked on “Approve” button but got the error “Complete Task: Not authorized”

I have created one “Approve Recommendation Task” in Task Definitions which has one potential owner as “re.te@gmail.com” and this is the user I am currently logged into the workspace.

Kindly help me understand why am I getting this error. Is there anything wrong with the set up?

Thank you in advance!

Comments
Post Details
Added on Dec 17 2024
2 comments
806 views