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

Flow Failing if Condition False

Hello Community!

 

I am working to implement an approval flow that checks for specific keywords within a teams channel.  However one part of the process is to know which server the member's account is in.  The condition I have in place works when true but when false it is kicking out an error.  Any insight into what I need to do to resolve this issue would be greatly appreciated!  Thanks in advance!

Flow Condition.PNGFlow Error.PNG

 

Thanks,

 

Jacob

 

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Super User
Super User

@JacobMG ,

Judging by error, it seems that the right side of if clause is recognized as Integer. 

Can you try to use formatNumber() function on each element from the right side of if clause (to be sure that it is recognized as string). 

I'm thinking at something like:

formatNumber(195,'0000')

 

Hope it works !

View solution in original post

2 REPLIES 2
gabibalaban
Super User
Super User

@JacobMG ,

Judging by error, it seems that the right side of if clause is recognized as Integer. 

Can you try to use formatNumber() function on each element from the right side of if clause (to be sure that it is recognized as string). 

I'm thinking at something like:

formatNumber(195,'0000')

 

Hope it works !

View solution in original post

JacobMG
Frequent Visitor

worked like a charm!  thanks @gabibalaban!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,126)