[jboss-user] [jBPM] - Call Activity and Process Data Input

Francesco Pietrobelli do-not-reply at jboss.com
Thu May 19 11:34:09 EDT 2011


Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] created the discussion

"Call Activity and Process Data Input"

To view the discussion, visit: http://community.jboss.org/message/606081#606081

--------------------------------------------------------------
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
1.  http://www.brsilver.com/2011/04/15/bpmn-2-0-mystery-process-datainput-and-dataoutput/ http://www.brsilver.com/2011/04/15/bpmn-2-0-mystery-process-datainput-and-dataoutput/
2.  http://www.brsilver.com/2011/04/20/more-on-bpmn-2-0-process-data-input/ http://www.brsilver.com/2011/04/20/more-on-bpmn-2-0-process-data-input/
3.  http://kverlaen.blogspot.com/2011/04/bpmn-20-data-associations-discussion.html http://kverlaen.blogspot.com/2011/04/bpmn-20-data-associations-discussion.html
4.  http://www.brsilver.com/2011/04/22/still-more-on-process-data-input/ http://www.brsilver.com/2011/04/22/still-more-on-process-data-input/

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.
The InputOutputSpecification of the Call Activity defines one Data Input with identical *name* of Data Input specified in subProcessDataObject, in according a 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.+" 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:
 http://community.jboss.org/servlet/JiveServlet/showImage/2-606081-16410/subProcessDataObject.jpg  http://community.jboss.org/servlet/JiveServlet/downloadImage/2-606081-16410/378-172/subProcessDataObject.jpg 

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,
Francesco.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110519/448beb3f/attachment-0001.html 


More information about the jboss-user mailing list