This content has been marked as final.
Show 3 replies
-
1. Re: Access to process variable fields and properties
spsingh Dec 13, 2012 10:33 PM (in response to spsingh)Is this even possible with jbpm? I read the user guide multiple times but did not find a way to do this.
-
2. Re: Access to process variable fields and properties
jsvitak Dec 14, 2012 4:16 AM (in response to spsingh)Can you provide more details? Business process definition, work item definition, work item handler code, whole error stacktrace?
Have you declared your process variable at process level?
-
3. Re: Access to process variable fields and properties
swiderski.maciej Dec 14, 2012 5:27 AM (in response to spsingh)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