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 Both sides next revision
tutorial:adm:create_and_configure_trigger [2019/07/10 07:00]
doischert
tutorial:adm:create_and_configure_trigger [2020/03/05 07:38]
tomiskar
Line 5: Line 5:
 {{ :tutorial:adm:scheduled_tasks_trigger_01.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_01.png |}}
  
-So we have three scheduled tasks, none of them has any trigger. Let´s start with the first scheduled task (by description). Click on the **Add** button in **Scheduled starts** and a pop-up window will show up.+So we have three scheduled tasks, none of them has any trigger. Let´s start with the first scheduled task (by description). Click on the **Add** button in **Scheduled starts** and a pop-up window will show up.  
 + 
 +We have four types of triggers: 
 +  * Once time start trigger - task starts once in configured date and time. 
 +  * Repeated start trigger - configure period to repeated task start. Configured period is converted to cron expression on the background. 
 +  * Cron trigger - cron expression can be configured directly. 
 +  * Other task trigger - task is started after other (dependent) task ends. 
 + 
 +==== Once time start trigger ====
  
 {{ :tutorial:adm:scheduled_tasks_trigger_02.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_02.png |}}
Line 15: Line 23:
 We have now configured a scheduled task and a date is set when it will be initiated. After that start, the trigger will disappear and we can select a new trigger. We have now configured a scheduled task and a date is set when it will be initiated. After that start, the trigger will disappear and we can select a new trigger.
 Now click the **Add** trigger button next to **the second scheduled task**. Now click the **Add** trigger button next to **the second scheduled task**.
 +
 +==== Repeated start trigger ====
 +
 +{{ :tutorial:adm:repeated-trigger.png |}}
 +
 +
 +Now select the trigger type **Repeated start**. We can choose interval from prepared options which could start the scheduled task periodically from given valid date.
 +Configured period is converted to cron expression on the background. Behavior is the same as cron trigger, which is described below.
 +
 +
 +==== Cron trigger ====
  
 {{ :tutorial:adm:scheduled_tasks_trigger_04.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_04.png |}}
Line 31: Line 50:
  
 Now we add the trigger to the last scheduled task and in **Type** select **Other task**. In **Other task** field select another scheduled task, but as you can see on the picture above, scheduled tasks are represented by their description, because there can be more scheduled tasks with same task type. In this tutorial we selected **the second scheduled task**. Now we add the trigger to the last scheduled task and in **Type** select **Other task**. In **Other task** field select another scheduled task, but as you can see on the picture above, scheduled tasks are represented by their description, because there can be more scheduled tasks with same task type. In this tutorial we selected **the second scheduled task**.
 +
 +==== Other task trigger ====
  
 {{ :tutorial:adm:scheduled_tasks_trigger_07.png |}} {{ :tutorial:adm:scheduled_tasks_trigger_07.png |}}
  • by apeterova