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&...]