[jboss-user] [jBPM] - Re: saving state after workitem

Chris Melas do-not-reply at jboss.com
Fri Jan 27 11:33:04 EST 2012

Chris Melas [https://community.jboss.org/people/melc] created the discussion

"Re: saving state after workitem"

To view the discussion, visit: https://community.jboss.org/message/649142#649142

When you reach the signal, your process will persist and wait for that signal. The only place to see that a signal has been reached by an instance of your process, is the NodeInstanceLog table. If you examine the entries you can find out whether a signal has completed or not. Then you would have to somehow figure out the ref of the signal and make a call as you would from your external process and continue.  So if i understand correctly you want your process to wait at the signal and somehow an external event is called by your system to continue..

Otherwise if you only try to persist just make workitem1 asynchronous and omit the signal part i.e. start->script1->workitem1->script2->workitem2->end. That will persist your work item until it gets completed. So if it fails while running you can get the work item from WorkItemInfo and rerun it , otherwise if it completes the process will continue to script2 and so on.

please correct me if i havent understood your intention

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120127/a9b798d3/attachment.html 

More information about the jboss-user mailing list