The LRT ContractStartNotificationTask can sends an email notification to holders of a specified role, manager, owner of starting contract. The recipients of the notification can be modified in the LRT setup and the notification template can be modified as well.
There are three different notifications this LRT can send:
Each notification can use a different notification template (and must use a different topic).
You can create your own template by modifying the stubs. You have these objects available:
The LRT can be configred in multiple ways, so it can be used for example
Behavior for module version < 3.5.0
The task sends notifications exactly according to the number of days before/after the start of identity's contract. Therefore, the task must be scheduled to run every day. Also, the contracts must be created in IdM soon enough. If a new contract was created and its start was already set to e.g. a week ago, then the notification e.g. 3 days before the start of the contract would not be sent. The same holds for filtering by the accounts on systems - if a user doesn't have an account on the day of the start of the contract, then the notification wouldn't be sent that day and never afterwards.
Behaviour for >= 3.5.0
For all use cases below the notification will be send