cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error with multiple parallel approver flow when approvers are dependent on department

Hello!

 

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:

Flow.png

 

Here is the picture of the list that I have in place on my SharePoint site:

Form.png

The error that I am getting is during my switch:

Failed.png

 

Thanks in advance for the assistance!

6 REPLIES 6
ScottShearer
Super User
Super User

@bodes In your cocondition did you select the choice column "value" from dynamic properties.  If not then you should make the change.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Anonymous
Not applicable

I believe so. This is what I have:

 

Screen Shot 2020-06-08 at 4.01.54 PM.png

Hi @Anonymous 

 

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.

 

Best Regards

--

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!

If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution
Anonymous
Not applicable

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?

@Anonymous 

In your switch statement, you need to choose Business Unit Value from Dynamic properties because it is a choice column.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Anonymous
Not applicable

Hi all,

 

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?Flow structureFlow structureErrorError

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,934)