Hello,
I am using Alfresco Process Services Enterprise 1.9 version. Now, I haven't created any App or Process definitions.
I navigated to 'Task App' and started Tasks using 'CREATE TASK' button. I can see this task in My Tasks and I completed it to as well. I have few tasks in My tasks as well as in Completed tasks.
Now, I want to delete all these tasks. How can I do this using any OOTB API? Is there a way I can delete?
I tried deleting these tasks using DELETE /enterprise/tasks/{taskId} API. However, it is giving me below error.
While deleting completed tasks: i got this error.
{
"message": "Only checklist tasks can be deleted",
"messageKey": "GENERAL.ERROR.BAD-REQUEST"
}
While deleting In-Progress tasks: I got this.
{
"message": "Task with id: <id> does not exist",
"messageKey": "GENERAL.ERROR.NOT-FOUND"
}
I would like to cancel all these tasks anyhow. Please help.
Thanks,
Jigir Shah