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