Hey guys,
I was wondering if anyone knows how I could have a template stop running executions if it fails a certain number of times?
Say, if I set up a template to run 100 times, and for whatever reason it fails to complete 5 times in a row, how could I stop it from running the remainder of the executions?
Scenario:
Template creates a post
Template is set to execute 100 times
Template completes successfully 15 times
Something on the page is updated/changed causing the template to encounter errors
Template fails 5 consecutive times
After failing 5 consecutive times, the remaining 80 executions are not executed
Thanks for any help and merry christmas!
I was wondering if anyone knows how I could have a template stop running executions if it fails a certain number of times?
Say, if I set up a template to run 100 times, and for whatever reason it fails to complete 5 times in a row, how could I stop it from running the remainder of the executions?
Scenario:
Template creates a post
Template is set to execute 100 times
Template completes successfully 15 times
Something on the page is updated/changed causing the template to encounter errors
Template fails 5 consecutive times
After failing 5 consecutive times, the remaining 80 executions are not executed
Thanks for any help and merry christmas!