Variable triggers
The variable trigger triggers a flow when the value of a global variable changes.
VariablenTrigger-dc6c1e034d7ad8d315dc8f7ae75141ad.png)
| Property | Description |
|---|---|
| Trigger Data Point | A global variable whose change triggers the transfer. Selecting this option opens a tree view of global variables with their folders and data types. Metric variables (aggregations) can also be selected; they trigger when the window value changes—two identical windows in succession do not trigger the transfer. |
| No more than | If the value of the data point changes frequently, you can use this setting to limit the number of transfers per interval. This setting means: “Data is transferred at most, for example, once per second, even if the value changes more frequently.” Always enter a whole number; do not include decimal places. Therefore, select milliseconds, seconds, minutes, or hours as the units. |
| At least every | Time interval during which data is transferred regardless of whether the value of the data point has changed. The default is always a whole number; no decimal places are allowed. Therefore, the units must be milliseconds, seconds, minutes, or hours. |
| Trigger at ... % difference | The transfer is triggered only if the value of the data point changes by this amount (relative). |
| Triggers Based on Absolute Difference | The transfer is triggered only if the value of the data point changes by this amount (absolute). |
| Triggers on Exact Value | Executes the flow if exactly one value is present. |
| Trigger on every data change | Default setting; overrides triggers when the difference is ... |
Trigger behavior
The diagram shows the trigger behavior on a change of an internal variable – analogous to the data-change trigger.
Templates
Variablen-Trigger_Template-7d4406efadd15e472cd607565ff8bdf8.png)
In a template, you can specify the trigger data point as a template variable instead of selecting a specific value: The “Template variable” toggle displays a path field that can contain placeholders (e.g., {Anlage}/Temperatur) or be bound to a template variable. Each instance then monitors the variable to which its resolved path points.