Table of Contents

Notification - the start of identity's contract

This notification is a part of the Extras module.

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:

  1. notification sent a specified number of days before the start of identity's contract
  2. notification sent the day that identity's contract starts
  3. notification sent a specific number of days after the start of identity's contract

Each notification can use a different notification template (and must use a different topic).

Template

You can create your own template by modifying the stubs. You have these objects available:

Configuration of LRT

The LRT can be configred in multiple ways, so it can be used for example

Notes

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

First run will process all valid contracts, be carefull with the first run