I would like to bring back a workflow task to previous state in Alfresco activiti workflow. For example, there are two reviewer A and B. The workflow is serial, A is the first reviewer and B is the second. After A accepted the task, the task is assigned to B. At that time, A would like to bring back the task from B. What api method should I use to implement this behavior? (it's not possible?)
2 Answers
1
votes
What you mean is Reassigning a task to another user, which is in your case the same user who did the first step.
You can to this by the following: http://forums.activiti.org/content/reassign-task-another-user
Take a look in the Share web components for task-edit-header.js. There is a reassign button in share which does a bit you're asking for. Check which calls alfresco makes a reuse that.