cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti-explorer: Reexecute the Task / Execute/approve the userTask ?

demouser
Champ in-the-making
Champ in-the-making
From activiti-explorer,

1) from where i can  able to reexecute the Task ?
2) from where i can able to execute/approve the userTask ?
5 REPLIES 5

frederikherema1
Star Contributor
Star Contributor
Unless you model some kind of loop mechanism (sequence-flow goes back to the user-task after completion, e.g.. based on an exclusive gateway), this is NOT possible. Once a userTask is executed, the accompanying Task is removed and the process moves on. That's how BPMN works…

demouser
Champ in-the-making
Champ in-the-making
From http://www.activiti.org/userguide/ it shows that UserTask that allows a manager to review the request and approve/disapprove.
Either we can approve or disapprove. Where we can Approve or disapprove ? Is it handled in the code level based on input approve or disapprove.? I thought from activiti-explorer we can able to approve or disapprove.

frederikherema1
Star Contributor
Star Contributor
The "approve" and "reject" capability is implemented in the UI, by offering an input-field (combo) with approve and reject-options (or a checkbox, for example). After that task, in the BPMN, you'll have an exclusive gateway with outgoing flows that have conditions on them. The condition checks the value the manager selected in the input for the "approved/reject" field…

demouser
Champ in-the-making
Champ in-the-making
"approve" and "reject" we can do it from Activity explorer right ?

frederikherema1
Star Contributor
Star Contributor
Explorer allows you to create such a field, indeed and allows you to "complete" the task, effectively approving/rejecting.