cancel
Showing results for 
Search instead for 
Did you mean: 

Subprocess to CallActivity

lbds
Champ in-the-making
Champ in-the-making
On workflow, the subprocess loops through a collection and will use a CallActivity process.   So the subprocess loops through a list of people and sends their names to the callActivity.  The human tasks reference the first/last name in their headings but when I send the item to the background process it is null. 

Collection is ownerList
Element Variable is owner

I can reference owner.lastName and owner.firstName on the human tasks within the subprocess but on the callActivity when I pass it as owner.firstName, it displays in the callActivity as null.  I think I may be referencing it incorrectly.

Thanks
Lisa
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Lisa.

May be following thread could help you:
http://forums.activiti.org/content/element-variable-not-being-assigned-subprocess-multiinstanceloop


If not please attach your process (or even better jUnit test).

Regards
Martin