JBoss Community

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

created by Tihomir Surdilovic in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community