[jboss-user] [jBPM] - Access variables bound to process instance during its lifecyle

Minh Hoang TO do-not-reply at jboss.com
Wed May 22 15:08:15 EDT 2013

Minh Hoang TO [https://community.jboss.org/people/hoang_to] created the discussion

"Access variables bound to process instance during its lifecyle"

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

Having look at the API of JBPM, i see that while triggering a process via engine session, it is possible to parse variables

StatefulKnowledgeSession session = ...
Map<String, Object> params = ....
session.startProcess("process_id", params)

Objects stored on that map, which is associated with a process instance, are *somehow accessible* via contextual process instance.

My question is: What is the canonical way to read/write those variables during process instance lifecycle (ex: in order to communicate with external systems)

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list