Mysql query to approve or reject a task

cancel
Showing results for 
Search instead for 
Did you mean: 
Tabu
Member II

Mysql query to approve or reject a task

Hi,
Is there any mysql query to approve or reject a task from backend?

2 Replies
kintu_barot
Senior Member

Re: Mysql query to approve or reject a task

You can use the workflow apis for the same:

https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Workflow%20API 

Avoid using such direct database queries.

Regards,
Kintu
Tabu
Member II

Re: Mysql query to approve or reject a task

Thank you for the guidance!
I've gone through the APIs, but couldn't understand which can be used for approving or rejecting the task.
Please do provide the API using which we can achieve this.

Idea is to write a script, where authority & taskid can be passed and we should be able to approve or reject the task.