Need info on Deleting Task
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2013 12:52 AM
Hi,
I am using activiti-5.13,Now my question is i am trying to delete the task using rest uri (DELETE) runtime/tasks/{taskId}, the task is not deleted it shows the response as
{
"errorMessage": "Cannot delete a task that is part of a process-instance.",
"statusCode": 403
}
I am trying this one in different workflows,i am not understand this one can u explain in which situation we can use this uri, because generally if u take any task it is definitely with in the part of a process-instance,Please any one could explain this clearly.
Thanks & Regards
Sai Kumar R
I am using activiti-5.13,Now my question is i am trying to delete the task using rest uri (DELETE) runtime/tasks/{taskId}, the task is not deleted it shows the response as
{
"errorMessage": "Cannot delete a task that is part of a process-instance.",
"statusCode": 403
}
I am trying this one in different workflows,i am not understand this one can u explain in which situation we can use this uri, because generally if u take any task it is definitely with in the part of a process-instance,Please any one could explain this clearly.
Thanks & Regards
Sai Kumar R
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2013 05:08 AM
Hi,
What's the reason for you to delete a task that's running as part of a process instance?
A task should be completed and a process instance can be deleted.
The DELETE task call can be used for standalone tasks (tasks that don't run as part of process instance).
Best regards,
What's the reason for you to delete a task that's running as part of a process instance?
A task should be completed and a process instance can be deleted.
The DELETE task call can be used for standalone tasks (tasks that don't run as part of process instance).
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2013 05:48 AM
The DELETE task call can be used for standalone tasks (tasks that don't run as part of process instance).
Can u Please elaborate above one.Generally task is part of process instance only right.
Thanks & Regards
Sai Kumar R
Can u Please elaborate above one.Generally task is part of process instance only right.
Thanks & Regards
Sai Kumar R
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2013 11:37 AM
Tasks in a process instance cannot be deleted. They can be completed, or delegated. But not deleted, cause what would need to happen then in the process instance?
