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

Prasanth Manchambhatla do-not-reply at jboss.com
Tue Jan 17 12:11:58 EST 2012

Prasanth Manchambhatla [https://community.jboss.org/people/pmancham] created the discussion

"saving state after workitem"

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

I created a workitem to call a web-service. I added the workitem to a workflow and I would like the process state saved immediately after the work item is executed. (So, that if I had to load the workflow after a server crash, the workflow will start from a point where it does not have to make same web-service call again - if it already called that webserivce before server crash)

What should I have in my WorkItemHandler.executeWorkItem() method in order to achieve this?

Here is another thread that discusses "when the state is saved" in general ->  https://community.jboss.org/thread/173809 https://community.jboss.org/thread/173809

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/20120117/85206892/attachment.html 

More information about the jboss-user mailing list