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.
While deleting In-Progress tasks: I got this.
Thanks,
Jigir Shah
You can create your custom API to delete tasks using the taskService.deleteTasks(Collection<String> taskIds, boolean cascade) (you might need to end it before deleting)
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.