hex_scheduledvariable is a boolean that evaluates to
Truewhile executed as part of a scheduled run. For example, this could be used so that a database write-back is only triggered on a scheduled run, and not as part of an "ad hoc" usage of an app.
$hex_run_contextvariable allows you to detect if a run is occurring in a logic session or as part of an app run. It will always evaluate to either