Task
Overview
The Task action allows task level operations to be performed during runtime. Activities include the ability to start a secondary task (also known as a child task or subtask) from a parent task or start another task as a separate thread. Other activities include the ability to stop execution of the current task or call a function defined in the task.
Available activities
For more information about a specific activity, click the associated link.
| Activity | Description |
|---|---|
| Task - Call function | Calls a function defined in the task. If the function returns a result, you can specify the name of the variable to place the value. For more details, see Task Functions. |
| Task - Enable/Disable | Enables a currently disabled task or disables a currently enabled task. |
| Task - Run | Starts a task as if it were triggered. All task properties are used including Logon, Priority, and Security settings. |
| Task - Start subtask |
Starts another task using the specified task name. When the subtask starts, the parent task waits for it to complete before continuing. Public variables from the parent task are available to the newly started subtask (see Variable - Create activity for more details). This action supports starting both managed and unmanaged (or external) tasks. |
| Task - Stop | Stops execution of the current task. Supports status code output, including success, aborted, or error. If the status code is set to Error, this action supports output of a custom error number and/or text. |