cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
draushaus Helper II
Helper II

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
fchopo Impactful Individual
Impactful Individual

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

 

View solution in original post

7 REPLIES 7
fchopo Impactful Individual
Impactful Individual

Re: Automate & Dynamics: Condition step

Hello @draushaus 

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

Ferran

draushaus Helper II
Helper II

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 093125.jpgTest of Condition Step

draushaus Helper II
Helper II

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

fchopo Impactful Individual
Impactful Individual

Re: Automate & Dynamics: Condition step

Hello @draushaus 

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

draushaus Helper II
Helper II

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

fchopo Impactful Individual
Impactful Individual

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

 

View solution in original post

draushaus Helper II
Helper II

Re: Automate & Dynamics: Condition step

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

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,097)