I am performing some operation in user task of adding some items from list of items.
What I want to do is I prompt the user whether he wants to add more and if he says yes, then I wlii execute my user task again.
So how would I do that?
you need some kind of a lopp. Have a look in the docs: https://docs.camunda.org/manual/latest/reference/bpmn20/tasks/task-markers/#loops
You would need a second user task that would set a variable (e.g. “addMoreStuff” = true/false) and then decide whether or not to execute the task again.
Maybe you also want to read about user task forms although its not required here. https://docs.camunda.org/manual/latest/user-guide/task-forms/
Is there any camunda example for that.
@sunnyorange you can have take look at this github example.