cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling a job with criteria

bharathyp
Active Participant
0 Kudos

I would like to schedule a job with the following conditions.

I want the job to run on, say every Monday of the week, BUT lets say if the Monday of this week is a holiday according to the factory calendar then i want it to be rescheduled to the next following working day, which can or cannot be a Tuesday again also depending on the calendar.

But the priority is able to choose the work day of the week for the job to be scheduled.fd

So if you think about it , if lets say the user wants to schedule the job on a Friday then if it happens to be a holiday then no choice have to unrelease(if it is in released state) or unschedule the job.

Can this kind of conditions be applied?

Accepted Solutions (1)

Accepted Solutions (1)

marianoc
Active Contributor
0 Kudos

Hi Jack,

Based on what I know, this can not be done in the standard SAP. You will need to make a program to apply all these rules.

Sometime ago we made a program with similar rules that trigger an event and when the even was trigger the job was released. You can try with a similar approach.

Kind Regards,

Mariano

bharathyp
Active Participant
0 Kudos

Yes, I think that is what I have to do in the end.

marianoc
Active Contributor
0 Kudos

Hi Jack,

feel free to follow the guideline

Kind Regards,

Mariano

Answers (0)