I am hoping someone can help with my error in my approval Flow.
I am attempting to make an automatic approval flow when a marketing manager creates a new item (promotion) within a SharePoint list. After the marketing manager creates the new item, it will automatically start a parallel approval process, with the approvers being dependent on the business unit/department. The issue I am running into is that my approvers are dependent on the business unit of the new promotion.
Here is a picture of my flow:
Here is the picture of the list that I have in place on my SharePoint site:
The error that I am getting is during my switch:
Thanks in advance for the assistance!
@bodes In your cocondition did you select the choice column "value" from dynamic properties. If not then you should make the change.
the error message indicates that the value that you are using on the Switch action is an object, this action expects a string. Can you please confirm if the field that you are using in the Switch action is actually a String? In order for you to confirm, you can include a Compose action and add the same field that you are using in the Switch and you can view the result and confirm if actually it is a String.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
After doing that, it says it is an object.
Any advice on how to edit my Flow, so when the marketing manager chooses the correct department that the approvers assigned to that department will be in the approval routing?
In your switch statement, you need to choose Business Unit Value from Dynamic properties because it is a choice column.
I did some tweaking to my Flow and was able to get my switch to work. Now I'm having issues with my condition of the approval outcomes. I have tried setting my condition to be ""Outcome" is equal to Approve" and ""Responses" is equal to Approve" and received the error message both times.
Any thoughts what I'm doing wrong?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!