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:43]
cirkval [Set up the LRT]
tutorial:adm:notification_-_identity_s_last_contract_is_ending [2019/11/05 11:56]
doischert
Line 45: Line 45:
 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 task (LRT) =====+===== Set up the Long running task (LRT) =====
  
 Finally, we can set up the LRT. In the left menu, go to Settings>Task scheduler>Scheduled tasks and click the green button Add. Select the task type LastContractEndNotificationTask and specify the configuration of the LRT. Finally, we can set up the LRT. In the left menu, go to Settings>Task scheduler>Scheduled tasks and click the green button Add. Select the task type LastContractEndNotificationTask and specify the configuration of the LRT.
Line 59: Line 59:
 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.
Line 65: Line 65:
 <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.</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