You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Logic App Standard workflow in a foreach condition, we are using a union expression function to union a collection with itself, in order to removed duplicates and get an array of distinct elements.
The reference guide states the union function returns an "Array or Object, respectively", but we are receiving the following error:
ExpressionEvaluationFailed
The execution of template action 'For_each_scenario' failed: the result of the evaluation of 'foreach' expression '@{union(body('Select_scenario_names_from_CSV'), body('Select_scenario_names_from_CSV'))}' is of type 'String'. The result must be a valid array.
Describe the Bug with repro steps
In a Logic App Standard workflow in a foreach condition, we are using a union expression function to union a collection with itself, in order to removed duplicates and get an array of distinct elements.
The reference guide states the union function returns an "Array or Object, respectively", but we are receiving the following error:
ExpressionEvaluationFailed
The execution of template action 'For_each_scenario' failed: the result of the evaluation of 'foreach' expression '@{union(body('Select_scenario_names_from_CSV'), body('Select_scenario_names_from_CSV'))}' is of type 'String'. The result must be a valid array.
What type of Logic App Is this happening in?
Standard (Portal)
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
Browser
Edge
Additional context
No response
The text was updated successfully, but these errors were encountered: