Page 1 of 1

How to Loop Through Tasks

Posted: Mon Jan 10, 2022 1:41 pm
by RBeer
I would like to make a process that will make a checklist task required again, once it the task was already marked as completed.
I was thinking of doing that by putting in a code snippet that will loop through all the tasks to see if this specific task is already there and marked as completed. Then the Process will reenable the task by making in required again.
Is this possible? And if yes, would you be able to give me the code to loop through all the tasks?
Thanks!

Re: How to Loop Through Tasks

Posted: Wed Jan 12, 2022 10:08 am
by BobRichards
Yes, it is. I am curious why you want to infinitely re-enable a task. Would there be logic to ever allow task ever be complete?