Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:44]
cirkval [Set up the Long runnig task (LRT)]
tutorial:adm:notification_-_identity_s_last_contract_is_ending [2020/03/03 11:43]
doischert [Run 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), since Extras 1.7.0
  
 ===== Configure topics ===== ===== Configure topics =====
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 =====+===== 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>I highly recommend you turn off sending emails before the first run which will send notification about the end of all contracts in x days.</note>+<note important>I highly recommend you turn off sending emails before the first run which will send notification about the end of all contracts in x days. Alternatively, for the first time you run the LRT, send the notification without recipients.</note>
  
-<note important>Each entity will only be processed once by the LRT. If the notification about the end of a contract was sent before, the same LRT will not send it again.</note>+<note important>Each entity will only be processed once by the LRT. If the notification about the end of a contract was sent before, the same LRT will not send it again.  
 +This is true even if the contract's validity changes (e. g., if the contract is extended after the notification is sent, it will not be sent again.)</note>
  • by kucerar