Announcements
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.
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.
Best regards, Mabel Mao
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..
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 237 Super User 2026 Season 2
David_MA 227 Super User 2026 Season 2
Mohsin Ali 194