cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
boyombo
Level: Powered On

sharepoint flow condition isnt running showing "Input Expression False

I have a sharepoint list with a list with  "Leave type" as one of the columns which is a choice field. I have another column as "Requested Day" i created a flow that needs approval redirected to another person if Leave type is Annual Leave and it is more than 10 days. i discovered it is running as "Inputs expression is False and goes to where false expression should go. I have tried several times and the problem keeps showing up. thus directing my flow to the email meant for false expression

flow1.png

flow2.png

Kindly assist

5 REPLIES 5
Dual Super User
Dual Super User

Re: sharepoint flow condition isnt running showing "Input Expression False

Hi @boyombo 

 

In your condition ensure you are selecting "Leave Type Value" as dynamic content since Value will hold the text you are tyring to compare

 

Also, ensure Days Requested is a number field in SharePoint

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

boyombo
Level: Powered On

Re: sharepoint flow condition isnt running showing "Input Expression False

@RezaDorrani Thanks. The "Leave Type" is dynmicaly chosen. the Days requested is a calculated column based on which is  =[Start Date] - [End Date] could that be the issue?

Community Support Team
Community Support Team

Re: sharepoint flow condition isnt running showing "Input Expression False

 

Hi @boyombo ,

 

For the Choice field, you need to select the Dynamic content corresponding to the Choice value as the parameter to configure in the Condition.

Image reference:

9.PNG

It is also recommended to copy the corresponding Choice value in the trigger body to the parameters of the Condition. The case I encountered before was because the user accidentally added extra spaces to the Choice value, and the result here was always false.

 

For the calculated column you mentioned, as long as its type is Number, you can use it directly. You could configure Compose under the trigger to output Leave type value and the Calculated column value, and then check if it is consistent with the expected.

 

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.
Highlighted
boyombo
Level: Powered On

Re: sharepoint flow condition isnt running showing "Input Expression False

Hi @v-bacao-msft 

 

Thanks for the message. If you check the message you will see the screenshoot of my flow attached. i did chose the columns dynamically but still running false

Community Support Team
Community Support Team

Re: sharepoint flow condition isnt running showing "Input Expression False

 

Hi @boyombo ,

 

You could configure Compose under the trigger to output Leave type value and the Calculated column value, and then check if it is consistent with the expected.

 

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.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,183)