AnsweredAssumed Answered

Triggering the Task Based on User Action

Question asked by chandanmb1 on Apr 11, 2016
Latest reply on Apr 11, 2016 by hari

Assume i have a Workflow
Start -> UserTask1 -> UserTask 2 -> UserTask3 -> End

Now i am in UserTask2 waiting for an approval from the User to execute the business logic.
In the GUI, user will say "Run IT", then i should execute my logic and finish the task

What is the event i have to use in my UserTask to perform the above action ?
Is it "complete event " of Tasklistener ?
How to achieve this ? Can you give some bit of code snippet