10-02-2017 10:36 AM - edited 03-01-2019 09:26 AM
Is it possible in Tidal Enterprise Scheduler to set a job's dependency to be the completion of a job that ran the previous day to status 'Completed Normally'?
10-12-2017 01:01 PM - edited 10-12-2017 01:43 PM
Have you considered creating a boolean variable to carry the job status? Call it "May I Run" or something similar.
The May I Run starts as False. The Day 1 job uses an event which sets it to True if it completes normally. The Day 2 job has a Variable Dependency looking for May I Run to be set as true. Once it completes, it has an event which sets the variable to False once again.
Oh wait...
You can create a Variable Action which sets the variable's value equal to the Job Run Variable of Job Status: <JobStatus>. That would allow you to carry the Day 1 job completion status over to the Day 2 job. It's a little more complex in evaluating for the Day 2 job, but would save you a step in having to reset the variable from True to False every day.
03-09-2018 12:49 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide