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
Dual Super User
Dual 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
Dual Super User
Dual 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 !

JacobMG
Frequent Visitor

worked like a charm!  thanks @gabibalaban!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,891)