cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
willy30870
Helper I
Helper I

Error in condition with select value

Hello,

 

I would like to test my selected output. If it is equal to "non" I want to stop my flow. But the condition is still "false"...

 

I have trying the basic mode with body('select') is egal to non or with a true but nothing works 😞

 

select1.JPG

 

select2.JPG

 

 

Could you help me ?

 

 

thanks

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

If you look at the JSON output you can see that the output of the select is an array, not a string.  you need to put that inside a first() to get the actual value of the first record.



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

View solution in original post

1 REPLY 1
Pstork1
Dual Super User III
Dual Super User III

If you look at the JSON output you can see that the output of the select is an array, not a string.  you need to put that inside a first() to get the actual value of the first record.



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

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.

Top Kudoed Authors
Users online (3,013)