executeProcedure()

Causes another named procedure to execute. Use this capability to string multiple IF-ELSE-STEP procedures together. If the procedure no longer exists on the Kaseya Server, an error message displays next to the procedure drop-down list. You can use this command to run a system procedure. You can nest procedures to 10 levels. You can include a time delay before running the called procedure.

Example - Sample Procedures.Agent Control.Reboot-Ask-No

If isUserLoggedIn(" ")
	executeProcedure(Reboot-Ask-No-2", " ", "Immediate", "All Operating Systems", "Halt on Fail")
Else
	reboot("All Operating Systems", "Halt on Fail")