cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
734
Views
0
Helpful
2
Replies
Highlighted
Beginner

Possible to set Job Dependency on status of job run Previous Day

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'? 

Everyone's tags (1)
2 REPLIES 2
Highlighted

Re: Possible to set Job Dependency on status of job run Previous Day

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.

Highlighted
Enthusiast

Re: Possible to set Job Dependency on status of job run Previous Day

CreatePlease to create content
Content for Community-Ad

Cisco COVID-19 Survey

This widget could not be displayed.