Execute Task
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

Execute Task

  • Dark
    Light

Article summary

General

This type of action can be used in a Task to execute another task.

Properties

This type of action has the following properties:

Name

Description
TaskThe Task to be executed.
Wait For Execution To Be FinishedWhen enabled, the execution of the task that contains the Execute Task action will only continue if the other task has finished its execution.
Parameter ValuesA list of parameter values you can supply to the task parameters.

Example

Let's suppose you have a task named Task Runner that contains two Execute Task actions; the first one executes task Task A and has Wait For Execution To Be Finished enabled, the second one executes task Task B and does not have Wait For Execution To Be Finished enabled.

When the execution of task Task Runner starts it will block an execution slot (it counts against the maximum number of parallel executions permitted by your license) and will start to execute Task A; the execution of Task A will also block an execution slot (so two slots are used). Since Wait For Execution To Be Finished has been enabled, the execution of task Task Runner will not continue until the execution of task Task A has finished.

Once task Task A has finished, it will no longer block an execution slot (therefore only one execution slot is blocked; the one by Task Runner). Then task Task B will be executed. Since Wait For Execution To Be Finished is not enabled, the task Task Runner will immediately complete (and no longer block an execution slot) and task Task B will run until it has finished.


Was this article helpful?