If I set a local variable to some execution, will this variable be available to the children executions of my execution? If so, is it via childExecution.getVariable method? Can someone help, please?
Yes.
You should be able to get it using childExecution.getVariable
Thank you!
Sorry, back to this. How about children of child execution! Do they have access to the local variable? If so, is it accessible thru getVariable called on child of child execution? Thanks!
IMO it should be like this, yes. Because variable access is delegated up the hierarchy if the variable is not found locally.
Thank you. That is my assumption too, but some concrete situations contradict this and it’s puzzling and frustrating.
Could you describe those situation in more details? Maybe post a process model? I’d be interested in how it really works.
I think it’s working as we all assumed. I had some corrupted data in our database and it confused me a bit. However, I will add another post here with a diagram as well because I have one more question related to user tasks in multi-instance subprocesses. Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.