JBoss Community

saving state after workitem

created by Prasanth Manchambhatla in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community