20.22 Troubleshooting Tasks
Methods to troubleshoot issues with tasks and the approvals component.
Troubleshooting Tasks
| Problem | Solution | 
|---|---|
| Encountering Error ORA-20987: APEX: Not authorized for Task operations like complete_task, release, delegate, cancel_task, etc | Confirm the user name case in  APEX users are saved in uppercase ( Many of the authorization exceptions are false alarms due to incorrect case. | 
| Approving a task through DB Scheduler Job is throwing a Task Not Found error. | When you use a DBMS Scheduler job to run  To resolve this error, create a valid APEX session in the job using  apex_session.create_session()that passes the name of the approver as the user name and then calls theapprove_taskAPI.After running  | 
| Task not expiring after setting the due date using apex_human_task.set_task_due | APEX has a scheduled job that checks once an hour for tasks past the due date. Expired tasks do not show as expired until the scheduled job runs. You can trigger the scheduled job manually by running  | 
| APEX$TASK_IDsubstitution string does not work when used in the Actions SQL Query in the Edit Task Definitions page | You cannot use  As a workaround, use the  | 
Parent topic: Managing Workflows and Tasks