Hi all,
I hope this message finds you well. I am currently facing some challenges with the multilevel workflow approval in my Apex application, and I was hoping to seek your guidance and expertise in resolving the following issues:
i) When attempting to cancel a task that has not been completed using the 'Cancel Task' button, I encounter the error message 'APEX.TASK.RELEASE_TASK_NOT_AUTHORIZED'.
I am unsure of the cause behind this error and would appreciate any insights or suggestions you may have.
ii) As an Approver, I encounter a similar error message, 'APEX.TASK.RELEASE_TASK_NOT_AUTHORIZED', when trying to approve a task from the task detail page. However, I have noticed that I am able to approve the request successfully from My approval screen.
This inconsistency in the error occurrence is perplexing, and I am struggling to identify the root cause. I kindly request your assistance and expertise in troubleshooting these issues. Your guidance would be highly appreciated, as it would greatly contribute to the smooth functioning of the multilevel workflow approval process in my Apex application.
And I need another clarification - If I'm creating two level approval Workflow. The second task I'm creating using API.
Two task will be created with 2 unique task id's or The id's should be same.
I want to get the details of the two tasks approval History in My Request Page-History.
Thank you in advance for your support. I look forward to your valuable insights and recommendations