Currently in the platform there are 4 types of triggers to which a task can be associated. The operation of each of these will be explained below:
Activator by date
Corresponds to tasks that have a scheduled execution frequency according to a calendar. That is, they are performed every certain period of time. When selecting this type of trigger, the following fields must be completed:
-
Do every: Frequency with which the task is repeated
-
Frequency: Unit of frequency with which the task is repeated.
-
Repeat: Option to set whether the task is repeated finitely or will remain active indefinitely.
-
Times: Number of times the task is repeated (in case it has been set to be repeated finitely).
-
Fixed Scheduling: Option that allows to set the next scheduling date in a fixed way (as established) or to reschedule it from the last execution. For example, if we have a task that has a trigger with a frequency of every 30 days and has a fixed schedule, it will not matter if the task is executed as scheduled or with a delay, since the following activations will be fixed every 30 days. On the other hand, if you do not have the fixed schedule option, the next activation will take place after 30 days, but starting from the date on which the task was executed.
Event Trigger
Corresponds to tasks that do not comply with a particular activation frequency and that are only activated through the execution of an unplanned task (events are displayed through a list previously uploaded to the system). For example, events can be associated to situations such as, some types of failures, requests or activities that are not necessarily defined with a regular activation frequency, but the procedure to follow in case they occur is known.
Activator Each
Corresponds to activations by means of accumulating meters or counters (kilometers, hours, etc.). This type of activators works every time a certain meter accumulates the units required for the execution of some task. When selecting this type of meter, the following fields must be completed:
-
Frequency: Number of cycles to be completed for task execution.
-
Unit: Measurement system associated with the meter reading and the task trigger.
-
Until: Number of cycles in which the task will be executed (in case the activity is executed indefinitely, it is left without limit).
-
Fixed schedule: Analogous to the triggers by date, this option allows setting the reading at which the next activation will be executed, which can be set in a fixed way (as established) or taken from the last reading recorded at the time of executing the task.
Activator When
Corresponds to activations by means of non-accumulator meters or non-meters that can fluctuate over time (temperature, voltage, amperage, etc.). This type of activators work when a reading is registered that meets the established conditions or outside a certain parameter. When selecting this type of meter the following fields must be completed:
-
Unit: Measurement system associated with the meter reading and task trigger.
-
Is: List with the conditions that can be set to define the parameters that the registered reading must meet to trigger the activation of the task.
-
Value: Number that defines the numerical parameter to be considered for the activation of the task.