Hi Team,
I am using workflow to automate a task. I realised that the cron job is not triggering automatically. It was working fine previously.
Please find the snippet of my workflow
Am I missing something? Kindly, help me out with this.
Hi Team,
I am using workflow to automate a task. I realised that the cron job is not triggering automatically. It was working fine previously.
Please find the snippet of my workflow
Am I missing something? Kindly, help me out with this.
Hey @aditya_1
In the top right there is an 'enable' toggle. Have you deployed and enabled this workflow?
LMK if that helps!
Hi @JoeyKarczewski,
I did the other way around I enabled the workflow first and then deployed it.
Is this the right way? Could you please mention the right sequence?
Hey @aditya_1!
From that screenshot, it looks like the workflow is successfully deployed and enabled
If we you wouldn't mind someone from Retool stepping into your org to take a look let me know!
Hi @Kabirdas,
Yes, the retool team can have a look
Have witnessed the same behaviour today.
The problem seems to be with the Cron setting within Minutes. If I set it to */2 it just doesn't run.
In @Kabirdas case, they have the comma syntax. Just seems like cron syntax isn't supported properly.
Hey @Ross_Coombes!
Can you do me a favor and double-check that the workflow has been both deployed and enabled?
The following Cron setting seems to work in testing:
If both are set properly for you, would you be willing to share more information about your workflow so that we can see if something else might be causing the issue?
For context - Aditya discovered a timezone discrepancy in a new Date()
constructor within their workflow that seemed to be causing issues.
Hey Kabirdas,
I was deployed and enabled and the problem just seemed to go away so I'm afraid I don't have any more information. I'm simultaneously having another major issue with worflows which is muddying the water but I'll open a separate ticket for that.
Thanks anyway,
Ross