Variable initialization inside a scope
I tried to add a scope with intention of initializing all the required variables in my logic app. It turns out that we cant use the variable initialization action inside a scope.
I would like to see ability to
1> Define variables within a scope
2>To be able to say if this is a local or a global variable.
This helps in many scenarios
1> grouping all variable initialization into single scope- logic app looks tidier
2> We might want to define few local variables.
srinivasa mahendrakar commented
Thanks for the response. Allowing multiple variable initialization in single action does help. Scopes will be used more and more as a mechanism to group various actions. We do need the ability to initialize variables inside. Its great if this restriction can be removed.
And to the second point, when you have large Logic apps (specially in B2B processing) , its good if we have scoping for variables.
Derek Li commented
We plan to allow the initialization of multiple variables in a single action, which would solve your concern #1.
Can you provide more detail and scenarios where you must have a local variable instead of a global one to help us understand and prioritize #2?