I have a workflow on a page that runs every 5 seconds to check something, but has a ‘only when’ condition.
Even when the ‘only when’ condition is false, the workflow still runs every 5 seconds. I suppose that makes sense (it needs to run in order to check the condition?), but is there a way that I can disable/enable the workflow based on something else?
It only needs to do the check every 5 seconds for a short period of time, otherwise it is unnecessary workflows.
If you need to check something every 5 seconds, that’s likely what you need to do. But if you can do the check only when something else happens, that might be more efficient.
What is it that you need to check on every 5 seconds?
Is this simply for a single user, or multiple users? If you have hundreds of users, doing a backend check every 5 seconds ( PER USER), would be terrible. But if you would be able to do a single backend check every 5 seconds that checks for all your users, that’s totally ok.