[jboss-user] [jBPM] - Re: How to set a process variable from java code ?

Shobhit Tyagi do-not-reply at jboss.com
Fri Mar 22 10:35:23 EDT 2013


Shobhit Tyagi [https://community.jboss.org/people/roxy1987] created the discussion

"Re: How to set a process variable from java code ?"

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

--------------------------------------------------------------
Use this code when completing a task : 

client.start(id, user)
Map<String, Object> var= new HashMap<String, Object>();
firstHtOutputMap.put("variable", "value");


ContentData contentData = ContentMarshallerHelper.marshal(var, null);
client.complete(id, user, contentData);

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804304#804304]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130322/e2e71616/attachment.html 


More information about the jboss-user mailing list