JBoss Community

Re: jbpm5 setWaitForCompletion (async execution)

created by vsp in jBPM - View the full discussion

Mauricio, thanks for your reply.   That clarifies one thing (although I thought I saw something related to "wait for completion" functionality in the Eclipse modeler plugin).

 

So, inside the work item handler, this method is implemented:

executeWorkItem(WorkItem workItem, WorkItemManager manager)

 

So, how do I start from a WorkItem object and set the wait for complete flag.   Can you please show a simple example.  I only seem to find examples of how to do it when constructing the model programatically node by node.

 

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community