Managing Triggers
Triggers work together with time conditions for activating scheduled tasks. Users bind triggers when creating schedule tasks, and then the administrator determines whether the condition is ready and fires the triggers to start running all of the scheduled tasks waiting on the triggers at any time.
Administrators manage triggers in the Triggers page of the Logi JReport Server console (to access the page, point to Administration on the system toolbar, and then select Other > Triggers from the drop-down menu).
Administrators can manage the triggers as follows:
- Creating a trigger
- Select New Trigger on the task bar. The New Trigger dialog appears.
- In the Trigger Name text box, input a unique name for the trigger. SelectConflict Check to check whether the name has been used.
- In the Description text box, enter a brief description to introduce the trigge
- Select OKto create the trigger.
The new trigger is now added in the trigger table and is enabled by default. The trigger table contains the following columns:
Column Description Name Displays the names of the triggers. Is Enabled Shows whether the triggers are enabled or not. Referenced Shows the times when the triggers are referenced. Last Fired Shows the time when the triggers are lasted fired. Description Displays the descriptions of the triggers. You can select triggers in the trigger table by selecting the checkboxes ahead of them. To select all the triggers, check the checkbox on the column header.
- Firing triggers
When a trigger is enabled, it can be fired to enable scheduled tasks that are bound with the trigger. To file a trigger, select it in the trigger table by checking the checkbox ahead of it, and then select Fire on the task bar. The firing time will be recorded in the Last Fired column. Multiple triggers can be fired at a time. - Disabling triggers
To disable the enabled triggers, select them in the trigger table and then select Disable. - Enabling triggers
To enable the disabled triggers, select them in the trigger table and then select Enable. - Deleting triggers
Triggers that have not been referred to by any scheduled tasks can be deleted. To delete a trigger, select it in the trigger table and then select Delete. Multiple triggers can be deleted at a time.