
Announcements
I need to retrieve information on the number of validated checklists out of the total number to get an accurate percentage of progress, so that I can reuse it.
However I can't find this information in the power automaton, do you have a solution?
Thank you in advance.
Hi @NicolasSer,
You could use a filter array after a task details action to check how many checklist items are checked in the Checklist collection. You can compare that to the total amount of checklist items in that same collection and calculate the percentage with functions like div, mul and float.
Below is an example of that approach.
mul(div(float(length(body('Filter_array'))),float(length(outputs('Get_task_details')?['body/checklist']))), 100)