Automation Editor
...
Building Automations
Subroutines

Executing a subroutine

3min

From an automation, either search for the "execute subroutine" action or find it under the System Utility category:

Document image


In the System app:

Document image


Here:

Document image


It's generally easier to just search for "subr" after choosing "find an action":

Document image


Select the subroutine to use from the list:

Document image


Then click the Fetch button:

Document image


Then configure the input fields for the subroutine and save:

Document image


Subsequent actions can access the subroutine's output fields:

Document image


In the graphical automation history you can examine the subroutine's input and output:

Document image


Click on either the subroutine or the Details button to drill down and examine the processing performed by the subroutine:

Document image


When the parent automation's history is searched, any subroutines it uses are also searched and included in the search results.