Search

Execute Task

Last Updated: Sep 13, 2021

Articles

After designing the task, you can execute tasks from two places.

  1. Design Studio: Run the tasks in Design Mode to check if it runs successfully and desired results are achieved. The tasks run on the Developer Bot.
  2. Run Tasks page: Run the tasks in Execution Mode on the cluster assigned in the node configuration. The tasks are run in execution mode in production, the load is balanced across the bots that are assigned to the Cluster.

Design Mode

  1. Click the Image description icon to execute the task using a Developer Bot.
  2. Click the Image description icon and select the Execute in Cluster option to execute the task on the cluster using an Execution Bot. To know more about Clusters click here.
    Image description

During execution, the color of the nodes changes to indicate the execution state of that node.

Execution State Color of the Node Indication Example                
Neutral Grey Node is currently at rest Image description
Success Green Node executed successfully Image description
Partial Success Pear Green Node has one or more skipped iterations Image description
In Progress Blue Node is currently being executed Image description
Continue on Failure Amber Execution of this node failed and Continue on Failure is enabled for this node Image description
Failure Red Execution of this node failed Image description

Resume Execution

During the execution of Tasks with multiple nodes, you can make modifications in any node and resume execution from that node.

  1. Click the link between nodes. The Image description icon turns to Image description icon.
  2. Click the Image description icon.
    1. Click the Resume option to resume the execution in developer bot, from the node below the clicked link.
    2. Click the Resume in Cluster option to resume execution in cluster,from the node below the clicked link.
    3. Click the Start All Over option to start the execution from the Start node itself.

Image description

Result of Execution

After the execution completes, click the Image description icon adjacent to the node to check the execution result of the respective node.

Image description

Result of Execution window opens with tabs for Input, Output, Run Info, Step Data, and Formatted Output. Image description

Input: Displays the variables from the preceding node that are mapped to the current node.

Output: Displays the execution status and the values of the output variables in the current node that can be mapped to the succeeding nodes.

Run Info: Displays the information of the current node such as Run ID, Configuration, Machine details, Cluster details, time taken for the task to execute, etc.

Step Data: Displays the complete details of the steps designed inside the node, the status of each step, and the values stored in the variables. This is applicable only for specific nodes, for example, UI nodes.

Formatted Output: Displays if any output variable is in the table format.

The Iterations are listed in the left panel. You can select the iteration for which you want to view the results.

Execution Mode

The other mode of execution is Execution Mode.
You can run the tasks from the Run Tasks page on the cluster assigned in the node configuration. The tasks run in the Execution Bot and the execution results can be viewed from the Execution History page.

Click the Image description icon in the Tasks page to navigate to the Run Tasks page.

Image description

Run Tasks page

All the tasks in the HyperApp are listed here with Task ID, Title, Type, Assigned To, Priority, and Version.

You can execute a single task or a group of tasks.

Run a Single Task

  1. Click the Image description icon beside the Task ID to run the task.
  2. Click the Image description icon beside the Task ID to schedule the task at a specific time.

Image description

A unique Run ID is generated for each run of the task.

Bulk run

You can run two or more tasks together using the Bulk Run option.

  1. Select the checkbox against the tasks you wish to run in bulk.
  2. Click the Image description Bulk Run icon to run the selected tasks.
  3. Provide a meaningful name for the Bulk Run. This is displayed as Batch Run Tag in the Execution History page for all the tasks selected in the Bulk Run.
  4. Click the Image description Schedule icon to schedule the selected tasks to run at a specific time.

Image description

Each task in the Bulk Run has a unique Run ID.

To view the details of execution, navigate to the Execution History page.

Did you find what you were looking for?