Compares two values and outputs TRUE if the first is strictly greater than the second.
The GT instruction performs a greater than comparison. It evaluates whether one value is strictly larger than another and writes the boolean result (TRUE or FALSE) to the target variable.
This is commonly used in transition conditions or to set flags based on numeric thresholds, such as checking if a temperature exceeds a limit or a counter has passed a target.
{GIF:HERE} - [Screenshot showing the GT (Greater Than) instruction configuration in the visual editor, with the action set on a step and instruction type set to GT for a boolean comparison variable]
from automation_machine import ActionInstruction
step.add_action("variable_name", "Description", instruction=ActionInstruction.GT)
self.add_step())ActionInstruction.GT