S Root [
http://community.jboss.org/people/sroot] created the discussion
"Re: JBPM5 Content data problem"
To view the discussion, visit:
http://community.jboss.org/message/625619#625619
--------------------------------------------------------------
Hmmmm, so does that mean that you really can't have anything other than a String as a
process variable if you want to be able to later retrieve and display it from the Content
of a Task?
Note that I am using the WSHumanTaskHandler and in my custom task handler just before the
User Task I set my Map on a resuts map and then pass the results Map when I complete the
workItem:
Map<String, Object> resultsMap = new HashMap<String, Object>();
resultsMap.put("MYMAP", myMap);
resultsMap.put("OTHERSTUFF", otherStuff);
workItemManager.completeWorkItem(workItem.getId(), resultMap);
The next step is User Task and I then attemtpt to retrieve the original Map from Task
Content.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/625619#625619]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]