Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:notification_-_identity_s_last_contract_is_ending [2019/10/30 13:43] cirkval [Set up the LRT] |
tutorial:adm:notification_-_identity_s_last_contract_is_ending [2020/04/23 08:27] klementm [Set up the Long running task (LRT)] |
||
---|---|---|---|
Line 31: | Line 31: | ||
* the date of the end of the user's contract (String only) | * the date of the end of the user's contract (String only) | ||
* user's manager (full IdmIdentityDto) | * user's manager (full IdmIdentityDto) | ||
+ | * user (full IdmIdentityDto), | ||
===== Configure topics ===== | ===== Configure topics ===== | ||
Line 45: | Line 46: | ||
You can specify additional recipients of the notification in the topic description. | You can specify additional recipients of the notification in the topic description. | ||
- | ===== Set up the Long runnig | + | ===== Set up the Long running |
Finally, we can set up the LRT. In the left menu, go to Settings> | Finally, we can set up the LRT. In the left menu, go to Settings> | ||
Line 59: | Line 60: | ||
And finally, you can check the box and select whether the user's manager is to be notified as well. Only one manager will receive the notification! | And finally, you can check the box and select whether the user's manager is to be notified as well. Only one manager will receive the notification! | ||
- | ===== Run the LRT ===== | + | ===== Set up the Long running task (LRT) with technical identities ===== |
+ | |||
+ | <note important> | ||
+ | |||
+ | Finally, we can set up the LRT. In the left menu, go to Settings> | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | You can specify how many days before the contract' | ||
+ | |||
+ | <note tip>The notification is sent x days before the end of the contract or sooner. This is useful if for some reason the LRT did not run one day, it will simply be sent the next day.</ | ||
+ | |||
+ | You can select the role that the recipients of the notification will have assigned. You can only select one so if you need multiple ones, you have defined multiple LRTs. | ||
+ | |||
+ | You can also check the box and select whether the user's manager is to be notified as well. Only one manager will receive the notification! | ||
+ | |||
+ | There is also support for technical identities. There are two options: | ||
+ | |||
+ | 1) If you tick " | ||
+ | |||
+ | 2) If you just set prefix with **not ticking** " | ||
+ | |||
+ | The last option (Send invalid contracts) is if you want to send only valid users or all. The reason for putting this option to this setting is this case: Task did not run couple of days and some users are already not valid. So it admin can decide if those identities will be sent too. | ||
+ | ===== Run the long running task (LRT) ===== | ||
The last thing remaining is to run the LRT using the green arrow button. You can user CRON to plan when the LRT should be run. | The last thing remaining is to run the LRT using the green arrow button. You can user CRON to plan when the LRT should be run. | ||
- | <note important> | + | <note important> |
- | <note important> | + | <note important> |
+ | This is true even if the contract' |