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
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.
@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?
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.
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.
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
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.
Speakers, submit your sessions now! Call for speakers ends Feb. 10!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!