Search

Sub Task

Last Updated: Apr 27, 2020

Articles

Subtask nodes are used to execute a task until the nodes inside the task are successfully executed. The execution will depend on the condition that is provided for the node. In Jiffy, Sub Task consists of two nodes and they work as a group: Image description

  • Start Sub Task: This node indicates the start of Sub Task.
  • End Sub Task: This node indicates the end of Sub Task.

Uses

In JIFFY.ai, if a group of nodes needs to be executed until some criteria are met, the user can use sub task nodes.

The Sub Task node can be used either in an existing task or a new task.

Properties Of Start Sub Task Node

Image description

  1. Double-click on the Start Sub Task node.
    1. Name: Name of the node. A default name is displayed in this field, which the user can edit according to the task and the intent of using the node.
    2. Description: A short note on the purpose of the node.
    3. Loop Count (Max): The user must define the maximum number of times that the subtask has to run.
    4. Total Wait Time (sec): The user must define the total wait time in seconds for the subtask nodes’ execution. If the subtask executes successfully, it does not wait for the specified wait time and comes out of the loop, and then executes the succeeding nodes.
    5. Delay (in seconds): The user must define the interval time in seconds between each subtask loop. If the subtask execution is failed, it waits for the specified delay value and then proceeds with the execution of the next loop.

When a user executes a task having the Delay in Seconds greater than the Total wait time, the following error message is displayed upon clicking the Start Sub Task node: 'Delay(in seconds) is greater than the total wait time provided.'

Properties Of End Sub Task Node

Image description

  • Name: Name of the node. A default name is displayed in this field, which the user can edit according to the task and the intent of using the node.
  • Description: A short note on the purpose of the node.
Did you find what you were looking for?