[jboss-user] [jBPM] - Re: Access to process variable fields and properties

Maciej Swiderski do-not-reply at jboss.com
Fri Dec 14 05:27:40 EST 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121214/c74da08c/attachment-0001.html 


More information about the jboss-user mailing list