Compares two values and outputs TRUE if the first is less than or equal to the second.
The LE instruction performs a less than or equal comparison. It evaluates whether one value is smaller than or equal to another and writes the boolean result to the target variable.
Use LE instead of LT when you want the comparison to also succeed when the values are exactly equal.
{GIF:HERE} - [Screenshot showing the LE (Less Than or Equal) instruction configuration in the visual editor, with the action set on a step and instruction type set to LE for a boolean comparison variable]
from automation_machine import ActionInstruction
step.add_action("variable_name", "Description", instruction=ActionInstruction.LE)
self.add_step())ActionInstruction.LE