Workflows CRON Job not triggering

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 :slight_smile:

In the top right there is an 'enable' toggle. Have you deployed and enabled this workflow?

LMK if that helps!

Hi @JoeyKarczewski, :slight_smile:

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 :thinking:

  • Just to clarify, is there an error that's happening in the workflow or is the workflow not triggering at all?
  • Does it work when you trigger it manually?
  • Could we take a look at your logs/history?
  • Were any changes made around the time it stopped working or did it just stop on its own?

If we you wouldn't mind someone from Retool stepping into your org to take a look let me know!

Hi @Kabirdas,

  • Just to clarify, is there an error that's happening in the workflow or is the workflow not triggering at all? - There is no error occuring in the workflow, workflow is getting triggered but the notifications are not getting sent
  • Does it work when you trigger it manually? - Yes, it does work when individual blocks are ran manually
  • Could we take a look at your logs/history? - Yes, I have checked the logs and found that the trigger is running at that specified time and the logs are printed for the same. But the loop block is not sending the notification out
  • Were any changes made around the time it stopped working or did it just stop on its own? - It just stopped working on its own.

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