Thank Frederic to this.
Just add one thing
Particularly on closure/financial/billing Monthly dates. Yes indeed you can say
<last working day of the month> -[5 working days]
But this is a decision that can not be changed because you set it directly to the Rule (and the rule is hardly included into your task). The only way to change this is updating your tasks by adding exception+specific run.
To avoid this, and very elegant, and also parlicularly because you deliver a MU-less task to multiple, is to use a Financial calendar
- be sure to set a dedicated MU type , example C like closure : MUs could be C_MU1 C_MU2 C_MU3 ...
- create a calendar of MU type C. and set whatever days in the month the date of your monthly billing
- create a rule based on this Financial calendar feature (dropdown list)
- deploy the calendar on the "C" MUs designed nodes if also remote
- deploy the task to all the "C" MU you want
No need to change the tasks, but only the "C" calendar, at any time. The result will be in realtime and without modifying the objects (task)
Now for the 7:30 (dayly) or 23:30 (billing), it a bit more complicated, as it can be done by many ways
But I prefer this one:
- A global task with one dummy uproc : it as to be running only on the Billing month day. The Uproc is memorized an so log an event. The task must be executed before 7:30
- All the daily interrested session task has to be launched at 7:30.
- header check the absence of the dummy Uproc
- the time window of the task is 16h (23:30-7:30). And "execute at end of window" is checked
The day of Billing the dummy event is there, The Billing will wait the end the time window, so 23:30
The other days, no dummy event (Absent is fetched), The Billing immediatly execute, so at 7:30
This method is particularly interresting because If you have multiple Financial billing day tasks, all the tasks are simple with one condition: this dummy event
Regards Eric
Original Message:
Sent: 09-22-2020 01:14 PM
From: Agnes MICHEL
Subject: How to: make a $U Task run at a different launch time on a specific day in the month
Hi $U Community,
I'm wondering whether we have tips to fulfill that business request :
The context : our $U Task (billing - invoices printing) runs daily at 07:30 CET. However, on a specific day of each month, this Task must run before midnight CET (it's a question of date -> that day, the printed date on the invoices must be the current day, not Day +1).
This specific day in the month is defined that way : <last working day of the month> -[5 working days]
e.g.:
Sept 2020: 24/09/20
Oct. 2020: 23/10/20
Nov. 2020: 24/11/20
Dec. 2020: 24/12/20
Jan. 2021: 22/01/21
To summarize:
1/ we would need 2 different launch times:
- 07:30 Daily [except on <specific day>]
- 23:30 Monthly on <specific day>
2/ Does $U allow us to set that kind of calculation ?
<specific day> = <last working day of the month> - [5 working days]
3/ we would need 2 different Rules or Calendar or combination of both ? :
- Monthly on <specific day>
- Daily [except on <specific day>]
4/ this Task has to be deployed on several MUs
Thanks for your help ;
Agnès
------------------------------
SAP Service Delivery Manager - Scheduling management
Publicis Groupe
[WebsiteUrl]
[City] - France
------------------------------