[jboss-user] [jBPM] - Re: Problem accessing Mapped Input Parameter in domain specific work item handler.

Tihomir Surdilovic do-not-reply at jboss.com
Thu Jan 12 13:29:30 EST 2012


Tihomir Surdilovic [https://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Problem accessing Mapped Input Parameter in domain specific work item handler."

To view the discussion, visit: https://community.jboss.org/message/646541#646541

--------------------------------------------------------------
I think it's ambiguous anyways to define a process variable and a data input parameter of a task that have the same name. 
In your case lets say you have a process var:
<property id="boolResult" itemSubjectRef="_boolResultItem"/>
Then in your task you could have lets say:
<ioSpecification>
....
<dataInput id="_3_boolResultINInput" name="boolResultIN" />
   <inputSet>
   ...
   <dataInputRefs>_3_boolResultINInput</dataInputRefs>
   </> 
   <dataInputAssociation>
        <sourceRef>boolResult</sourceRef>
        <targetRef>_3_boolResultINInput</targetRef>
    </dataInputAssociation>
    ...
</>

You do have to make sure to set a value for the boolResult process var when you start the process.

Hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/646541#646541]

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/20120112/b5cec221/attachment.html 


More information about the jboss-user mailing list