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

Automate & Dynamics: Condition step

I'm setting up my first flow in Power Automate.  The Condition step is giving me trouble.

 

I want to send e-mail based on a simple condition - the contents of a yes/no field.  An e-mail is sent for each condition, but I'm always getting the 'no' e-mail.  

 

An advanced find shows the that field contents are 'Yes', but a display of the field in this e-mail message shows 'True'.  So... Right now, I'm saying if the field equals 'Yes' or if the field equals 'True', send the 'yes' message - but I still get the 'no' message in my inbox.   Why??  

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Automate & Dynamics: Condition step

Why don't you try to use the expression "true" instead of the string "True"?

2020-03-04 17_41_31-Window.png

 

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

7 REPLIES 7
Highlighted
Super User II
Super User II

Re: Automate & Dynamics: Condition step

Hello @Anonymous 

Could you share your flow with more details? I mean the condition you are using, for example.

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
Highlighted
Anonymous
Not applicable

Re: Automate & Dynamics: Condition step

 

My latest test was to do 'not equal to'.  And I am getting the 'yes' e-mail sent to me.

 

Test of Condition StepTest of Condition Step

Highlighted
Anonymous
Not applicable

Re: Automate & Dynamics: Condition step

My latest test was to do 'not equal to'.  And I am getting the 'yes' e-mail sent to me.Annotation 2020-03-04 093940.jpg

Highlighted
Super User II
Super User II

Re: Automate & Dynamics: Condition step

Hello @Anonymous 

From my point of view, it would me more clear if you use the following condition:

(New product is equal to True) OR (New product is equal to Yes)

Could you try it?

Hope it helps

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!
Highlighted
Anonymous
Not applicable

Re: Automate & Dynamics: Condition step

Yes; that was my original test:

automate_or_stmt.jpg

 

I get the 'no' message even though the value of the field is 'True':

 

Annotation 2020-03-04 101523.jpg

Highlighted
Super User II
Super User II

Re: Automate & Dynamics: Condition step

Why don't you try to use the expression "true" instead of the string "True"?

2020-03-04 17_41_31-Window.png

 

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Automate & Dynamics: Condition step

Excellent!  I figured it was something along these lines.  This works.  I appreciate the input.

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,135)