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

Can't get conditional to work

Dear,

 

When I create a new automation flow to forwarding mail base on the sql query value, the condition should be if the value equal to / contain  "Y", should flow to "IF YES". But actually, the auto-flow goes to the wrong way.  Could you help to solve this problem? Thank you.

Untitled picture2.png

 

Untitled picture.png

2 ACCEPTED SOLUTIONS

Accepted Solutions

 

outputs instead of output.

 

 

Community Support Team _ Barry
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

Many Thank, it worked!

View solution in original post

10 REPLIES 10
v-bacao-msft
Community Support
Community Support

 

Hi @KrystalChan ,

 

Please try to use Compose to output All result of the query and check if the output contains the expected string.

And you could fill the output of the Compose in the left parameter to compare the string. Like:

53.PNG

 

Best Regards,

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

Thanks for your reply, through the icon which you provide, I can find this step named " data operation", but another question is why I cannot search it? Is any problem with my language, how can I transfer to English? Many thanks

 

Untitled picture3.png

 

 

Hi @KrystalChan ,

 

You could click "built in" to get the Compose.

 

Best Regards,

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

Very sorry that it still not work.

Untitled picture4.pngUntitled picture5.png

 

Hi @KrystalChan ,

 

Please try this configuration:

54.PNG

Hope this helps.

 

Best Regards,

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

Unfortunately, it still not work after I re-build all the steps. Don't know if it will work, when I need to change the value from "Y" to "True"?

 

Untitled picture6.pngUntitled picture7.png

 

Hi @KrystalChan ,

 

You are not using my method to get the value. Please check the screenshot again.

 

You need to use the expression to get value. If you have switched the language to English, you could change the expression to output('Compose')['value'].

 

Hope that makes sense.

 

Best Regards,

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

Dear,

Something wrong with the coding, don't know how it happened.

Untitled picture8.pngUntitled picture9.png

 

 

outputs instead of output.

 

 

Community Support Team _ Barry
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

Many Thank, it worked!

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,762)