cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Unable to set condition

I've created an app that looks to a Sharepoint list where I have a choice field (Approval Status) that can be either "Approved" or "Denied".  I've created a flow to run when the list is updated and I want the condition to be that if Approval Status is Equal To "Approved" that an approval email will go out to the requester.  Else, the denied email goes out.

 

I set the Object field to [Approval Status] and the Relationship to [Is Equal To].  And I tried to set the Value field to "Approved"

 

But for some reason, I can't get the Value field to hold "Approved."  It always reverts to the Dynamic Content field [value].  Here's the Advanced Mode view:

 

@equals(triggerBody()['Approval_x0020_Status'], triggerBody()['value'])

 

Can someone tell me what I'm doing wrong?  How do I identify the value I want to test (approved)?

 

Thanks for your help!

Mark 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Unable to set condition

Hi Mark,

 

According to your description, I created an app based on a SharePoint list which has a Choice column. Then created a flow to send email when the list is modified. Below is a screenshot of my flow:

approve1.PNG

Here is the Advanced mode view of the Condition:

approve2.PNG

 

When the list is modified, an email would be sent with the Approve Status “Approved” or “Denied”. Hope it could be a reference for you.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Unable to set condition

Hi Mark,

 

According to your description, I created an app based on a SharePoint list which has a Choice column. Then created a flow to send email when the list is modified. Below is a screenshot of my flow:

approve1.PNG

Here is the Advanced mode view of the Condition:

approve2.PNG

 

When the list is modified, an email would be sent with the Approve Status “Approved” or “Denied”. Hope it could be a reference for you.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Frequent Visitor

Re: Unable to set condition

Perfect!!  That did the trick.

 

Thank you, Mabel!  You Rock!!!

Highlighted
Regular Visitor

Re: Unable to set condition

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Kudoed Authors
Users online (8,181)