Hi all and especially to Kris Verlaenen,
i have read same post about Process Data Input posted by Bruce Silver, Falko Menge and Kris Verlaenen
and so i tried to model two process in two distinct file, superProcessDataObject and subProcessDataObject (see attachment).
In superProcessDataObject i have define a Call Activity that start the process defined in subProcessDataObject, for to do this i have open superProcessDataObject in a text editor and i wrote the calledElement's attribute manually.
In according to BPMN2.0 spec p218 (PDF248) "The DataInputs and DataOutputs of the Call Activity are mapped to the corresponding elements in the CallableElement without any explicit DataAssociation." The InputOutputSpecification of the Call Activity defines one Data Input with identical name of Data Input specified in subProcessDataObject, it is right?
Also, i have set an InputAssociation that assigns a property of superProcessDataObject to the DataInput of the Call Activity.
The subProcessDataObject is defined as Kris explain in his blogs, thinking jbpm5 works according his opinion on BPMN 2.0:
But the test case, that i attached, fails because no parameter is passed to User Task. Does anyone know why? Did i forget something?
I also tried to use identical id (instead the name) of the Data Input of the Call Activity and the Data Input of the subProcessDataObject
Thanks in advance,
DataAssociationTest.java.zip 746 bytes