I have a workflow that sets a state every x seconds, but it’s always running to check the condition is met.
I want to set the condition separately, so the “Do every x seconds” doesn’t run at all unless the condition is met. My current approach feels inefficient and makes debugging a pain unless you disable the workflow.
I can’t see a way to acheive that in the normal workflows or using custom events, can anyone think of a way to make it work?
Indeed I think Do every X workflows are reliable but I’m pretty sure self-referencing workflows have some sort of timeout/maximum on front-end.
You can reproduce by setting a button to Schedule a custom event in 30 seconds and clicking 50 times on this button, you will rarely get 50 workflows run