web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Control Conditions def...
Power Automate
Unanswered

Control Conditions defaulting to False

(0) ShareShare
ReportReport
Posted on by 14

I am trying to automate our handover at work so that it changes the status on a list once 2 conditions are met. The flow is checking that the Status column which is a dropdown column is equal to "Service Restored" and that the "Incident Age" is greater or equal to "8"

 

When I run the flow it runs fine, however it says the conditions are false despite there being items in the list that meet the above criteria. This is what the condition looks like. I've tried all different ways of entering the value but the output still always says it is false.  Does anyone know what I am doing wrong.

 

Uzziss_0-1672752369539.png

 

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Assuming that Status is a dropdown I suspect the problem is that you are picking "Status" and not "Status Value" from the dynamic content.  Status will be the object which includes the value.  But for comparison you want just the value itself.

  • Uzziss Profile Picture
    14 on at

    Thanks Pstork.  I figured out that I was calling the wrong input for Status.  I have changed it to Status Value and that first condition works when it is on it's own.  When I add the 2nd condition for the Incident Age it goes back to being false.

  • Uzziss Profile Picture
    14 on at

    I'm not sure if the fact that my Incident Age field is a Calculated Field. Could my Flow be seeing the formulae and not the value that is being output to the view.

  • VictorIvanidze Profile Picture
    13,083 on at

    Remove the single quotes before and after 8

  • Uzziss Profile Picture
    14 on at

    If I remove the single quotes I get the following error.

     

    Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.

  • VictorIvanidze Profile Picture
    13,083 on at

    Convert "incident..." to int using int() function.

  • Uzziss Profile Picture
    14 on at

    This is what my Condition looks like now

     

    Uzziss_0-1672760376659.png

     

    I don't get an error but the output is still false even though the incident date on the test case is 22.

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    IN general you won't be able to use calculated fields from SharePoint in Power Apps.  Its also probably an issue that the field is being interpreted as text, not a number.

  • Uzziss Profile Picture
    14 on at

    Is there any way to get the flow to check what the modified date is to see if that is more that 8 days ago?

  • VictorIvanidze Profile Picture
    13,083 on at

    Hi @Uzziss,

    no - at left side int(...) and at right side just 8. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard