cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get the result of the process called by callactivity

shikeer
Champ in-the-making
Champ in-the-making
I want to assign one task to mulitiple users, so multi-instance callactivity was used .

Each instance of callactivity will call a same process , and users will fill some content in the sub process's form, how can i get the content in the main process .

Only activiti:in was found in callactivity, so in my mind, we can only set variable from main process to sub process, but the main process can not get the content filled in the sub process.

Does anyone know some good idea to deal with this~~~thx
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Please check out user guide first (http://activiti.org/userguide/index.html#bpmnCallActivity -> Passing Variables)

How about using this:

<activitiSmiley Surprisedut source="someVariableInSubProcss" target="nameOfVariableInMainProcess" />

shikeer
Champ in-the-making
Champ in-the-making
I have use this expression in the XML to passing the variables, but it doesn't work.
There's a post in the forum viewtopic.php?f=4&t=1723 , it seems this expression can not work correctly for multi-instance callactivity, and i check the issue in Jira: http://jira.codehaus.org/browse/ACT-825, nobody was assgined to this work.

So i think maybe there's still the same problem yet. Thank you for your reply~.