Mysql query to approve or reject a task

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2022 07:27 AM
Hi,
Is there any mysql query to approve or reject a task from backend?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2022 12:11 PM
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.
Kintu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2022 05:07 AM
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.
