We are using the JBPM by calling REST API in our application.
In our process, the approving users are not fixed, we need to programmatically add one or more Human Task activity after the process instance started, and set the approver and some params.
I think it should be done by [POST] /execute and AddTaskCommand, is it correct?
I can't find any example of the XML to be input into the method.
How do I call REST to add human task, and how to input the XML required?
It's really appreciated if can provide a detail example, thanks!
Retrieving data ...