The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@triggerOutputs()?['body/Highway']' is not valid. It is of type 'Object' but is expected to be a value of type 'String, Integer'.
how can i use switch for choice (drop dowm menu)
I think the field you want is the value of the Highway.
For example, I have a multi-choice column called TicketStatus.
The Dynamic content I need to use in the Switch action is value of Ticket Status:
For example, behind the scenes, TicketStatus data looks like this for the first item in my SharePoint list:
"TicketStatus": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 1,
"Value": "Assigned"}
TicketStatus Value is equal to "Assigned" - which is what I need to use in the Switch action.
Hope this helps.
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.