Reputation: 1
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?)
Upvotes: 0
Views: 914
Reputation: 182
why not putting an exclusiveGateway after B that evaluates a boolean, so depending to its value ,workflow will either complete or return to A
Upvotes: 0
Reputation: 6643
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.
Upvotes: 1