
I am looking for a way to count the number of items in a SharePoint list and apply to a condition that if it =16 to go to the next step.
@send2mark in your get items action make sure you go to settings, turn the pagination toggle on and set the threshold to a number higher than the number of items in your list. If you don't do this it will only bring back a maximum of 100 items.
Add a compose action and add the expression: length(body('Get_items')?['value'])
You can then add a condition after that to check if the output of the compose = 16.
Rob
Los Gallardos
Principal Consultant, SharePoint, Forms and Power Platform, WSP Global (and classic 1967 Morris Traveller driver)