I'm looking to see if its possible to stop an automation if it goes past 4am?

I have another job which runs at 4:30 and I don't want these jobs to clash.

  • Can't you use addition condition with the automation something like 'AND' time is less than 4AM with other conditions ? It will make whole entry criteria false and the automation would not trigger.
    – Vickal
    Jul 17, 2018 at 10:12
  • How do you add additional conditions?
    – Noor Alam
    Jul 17, 2018 at 11:09
  • Why dont you just simply put those two automations in one automation after each other? Jul 17, 2018 at 12:34

2 Answers 2


This would likely need to be a third automation utilizing Script activities.

What you would do is set this automation to run daily at 4AM with only the script activity.

I would have this script activity utilize the internal SSJS API capabilities to interact with Automation Studio to do the following actions:

  1. Stop the automation if it is running
  2. Pause the automation so it does not start again

I would then add a script activity to the end of your 2nd automation and have this script activity restart the first automation so it can run as normal.

This is a good recently asked question to reference.


Perhaps you can do this, assuming both automations run on the same days:

Run automation 1 on schedule basis, at the last step of the automation do a file export into a FTP location. The export can be of a dummy DE and as simple as just one row with one field.

Trigger the 2nd Automation off the file drop, this way the 2nd automation only runs if the first has finished.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .