-
Task
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
-
None
Given the following two methods:
- DelegateExecution#setVariable(String varName, Object varValue)
- DelegateExecution#setVariable(String varName, Object varValue, String destinationScope)
When invoked, the two methods have different behaviors regarding the Scope of the variables. [1] will set the variable to the lowest possible scope where a variable of that name is found. [2] will set the variable to the specified destinationScope, unless the destinationScope is explicitly set to null.
Then, as a user, I can read a more clear documentation about this difference in behavior in the JavaDocs, as well as the documentation: