logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

results() does not allow body() or variables() to define action name

Open jeffwessling opened this issue 3 years ago • 0 comments

I've been implementing some Try-Scope/Catch-Scope exception handling using the results() expression in my Logic App (Standard) which works great. But only if all the action shapes are at the same level in the Scope shape. I use Scopes within the Try-Scope to group actions that have to do with the same operation to make it easier to understand. However, result() cannot seem to read these nested scopes. When I try to pass in an action name to results() with body() or variables() to make it more dynamic I get an error that those are not allowed in the template. It seems like result() needs a hard-coded action name which doesn't make sense.

If others have figured out a way to pass in some form of variable action name to result() please let me know.

jeffwessling avatar Oct 12 '22 21:10 jeffwessling