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 / Flow Condition Error I...
Power Automate
Unanswered

Flow Condition Error Invalid Template

(1) ShareShare
ReportReport
Posted on by 4

I am getting an error on a condition, and I dont understand it.

Please help me. First image the error and second image how I have it in the flow.

 

Flow Compose.PNGFlow Condition.PNG

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi CLetona,

     

    I have seen your similar issue on another thread.

     

    The thread link is:
    https://powerusers.microsoft.com/t5/Using-Flows/Flow-condition/m-p/37277/highlight/false#M1137

     

    In the similar thread, I suggested you submit an idea about using function to count how many items have got from the “get items” action.

     

    I assume that you want to check if a column is empty or not, if yes, you could consider to use empty function. About empty function, please check it at here.
    3.PNG

     

     

    Best regards,
    Mabel Mao

  • CLetona Profile Picture
    4 on at

    No, I am not checking if the column is empty, I am trying to get a count some how.

    I guess I am mixing the Power Apps functions and MS Flow functions. If MS Flow only uses  what it is in https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language then we are in trouble. Very limited..

     

     

  • gamoraes Profile Picture
    1,040 on at

    In "Compose" action for functions you need to start and finish with "

    Copy this and put in your compose: "@Value(CountIf(body('Get items'),['DiscountIssued'] <1))"

     

     

    Reggards,

     

    Gustavo Moraes

     

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
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard