I don’t understand how passing input and output parameters function to Call Activity.
I need to pass parameters with textual value to Call Activity.
For example, in input parameters I set parameter named type to value 1.
When in variable mapping I set All and Local to true, I can see parameter ‘type’ inside Call Activity.
If I set variable ‘type’ to be Local and others not, it doesn’t work.
Also, when I change variables to Local I cannot reference them through execution.getVariable anymore, I guess they are seen as LocalVariable now.
Can someone explain why can only one variable be passed as Local? Also, it would be great if someone could explain why parameters must be passed as Local to Call Activity.
While creating demo bpmn, I realised that I was mistaken: I had 3 instances of same call activity triggered at once, so I didn’t realize I didn’t add parameter to all of the 3 call activities.
Thank you anyway!