[jboss-user] [jBPM] - Re: How to read external parameters from within a process?
Demian Calcaprina
do-not-reply at jboss.com
Mon Dec 12 06:35:08 EST 2011
Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion
"Re: How to read external parameters from within a process?"
To view the discussion, visit: http://community.jboss.org/message/641047#641047
--------------------------------------------------------------
Hi Umar,
You should declare the variable in your process
In your bpmn file will look like this:
<itemDefinition id="_doctorsDecisionItem" structureRef="String" />
...
<process...>
<property id="doctorsDecision" itemSubjectRef="_cvItem"/>
No matter if it is "external" or not.
In your script node you can use
System.out.println(kcontext.getVariable("doctorsDecision"));
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/641047#641047]
Start a new discussion in jBPM at Community
[http://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/20111212/1ef39189/attachment-0001.html
More information about the jboss-user
mailing list