Jiri Svitak [
https://community.jboss.org/people/jsvitak] created the discussion
"Re: working with variables in custom work items"
To view the discussion, visit:
https://community.jboss.org/message/746955#746955
--------------------------------------------------------------
To retrieve a result from a user defined service task you have to add a new result
parameter into your work item definition file.
Then you can pass a result value from your work item handler into your business process
using this code:
Map workItemResults = new HashMap();
workItemResults.put("parameter", value);
workItemManager.completeWorkItem(workItem.getId(), workItemResults);
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/746955#746955]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]