Search

Sub Task

Last Updated: Mar 8, 2023

Articles

Subtask nodes are used to execute a group of nodes until some criteria are met, or for the specified number of times, or for specified time interval.
Sub Task consists of two nodes and they work as a group:

  • Start Sub Task: Used to the start Sub Task.
  • End Sub Task: Used to the end Sub Task.

Only when the Purchase order approval mail is received, the Order Management System must be updated. The steps to check if approval mail is received are included within Sub Task and the nodes to update Order Management System after Sub Task. Only if the email is received and criteria are met, the Order Management System is updated.

Image description

Properties of Start Sub Task Nodes

  1. Click the Start Sub Task node. In the Properties tab and enter the Name and Description.
  2. Enter the following details:
    1. Loop Count (Max): Maximum number of times that the subtask has to run.
    2. Total Wait Time (sec): Total wait time in seconds for the subtask execution.
    3. Delay (in seconds): Interval time in seconds between each subtask loop.

The execution comes out of subtask and proceed with the execution of subsequent nodes if any one of the below conditions are satisfied.

  • All nodes in the subtask execute successfully.
  • Loop count reaches the specified maximum limit.
  • Subtask execution time reaches specified Total Wait Time (Sec).

Image description

End Sub Task Node

Click the Start Sub Task node. In the Properties tab and enter the Name and Description.

Image description

Result of Execution of Start-End Sub Task Nodes

After executing task, Result of Execution window is displayed with the following tabs.

  • Output: Execution status of the node is displayed.
  • Run Info: The Run details are displayed. It includes Run ID, Sequence Number, and Total Node Execution Time (in seconds).

Start Sub Task Node

Image description

End Sub Task Node

Image description

Did you find what you were looking for?