How to check a value in each element of a list to validate a condition

Hi everyone!
I am trying to setup a condition for a project status based on the status of it’s tasks.
Basically if all tasks are complete, the project status is then complete.
So I am running a workflow: when a task is saved and I want to do a check on all the statuses of the tasks in the parent project of the task I just saved. If all are complete then the status of the projects changes to complete… but it doesn’t seem to work. I am probably not understanding well the functioning of bubble on this:
On the debugger the “only when” is green which means that the condition is valid when in reality it is not, many tasks of the project do not have a “complete” status…
Can anyone please tell me what I am doing wrong here ? :sweat_smile:

Hi there, @aminebouterfa… if I understand your post correctly, try configuring your condition like this… Result of step 7's tasks:filtered:count is 0… and add a constraint to the filter where status = Incomplete (or however you are defining tasks as not being complete yet).

Hope this helps.


1 Like

It did solve the problem! Thank you very much Mike :))

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.