Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Access to process variable fields and properties"
To view the discussion, visit:
https://community.jboss.org/message/783444#783444
--------------------------------------------------------------
you can achieve this with data input and data input association, following is an example
of it for userTask
<userTask id="_4" name="User Task" >
<ioSpecification>
<dataInput id="_4_inputInput" name="input" />
<inputSet>
<dataInputRefs>_4_inputInput</dataInputRefs>
</inputSet>
<outputSet>
</outputSet>
</ioSpecification>
<dataInputAssociation>
<sourceRef>variable.getName()</sourceRef>
<targetRef>_4_inputInput</targetRef>
</dataInputAssociation>
</userTask>
please note that variable must be declared as process variable on the process level.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/783444#783444]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]