How to Loop Through Tasks

Questions about and code samples for automation process code snippets within Select.
Post Reply
RBeer
Posts: 2
Joined: Fri Jan 07, 2022 11:46 am

How to Loop Through Tasks

Post 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!
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: How to Loop Through Tasks

Post 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?
Bob Richards, Senior Software Developer, SoftPro
Post Reply