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
[
https://community.jboss.org/message/818949#818949]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]