Skip to main content
Kinetic Community

13. Working with the Task Engine

Overview of the Task Engine

Terms

Task Engine

The Task Engine is a processing engine which takes input from applications and walks through a predefined task tree. In Kinetic Request it gives you the ability to extend the functionality of your service items. You can use tasks to perform data lookups, add approvals, create entries in other Remedy forms, send notifications and much more.
 

Task Builder

Graphical process builder that allows configuration and sequencing of business processes.
 

Task Handler

Standalone collection of code designed to perform a task.
 
Pre-made handlers are available from the Kinetic Task Community website.
 

Task Node

Configured parameters applied to a specific instance of a Task Handler on a task tree.
 

Task Tree

Purposeful collection of task nodes and connectors. Task trees normally perform a business process, or a sub process for an overall task tree.
 

Types of Task Trees

Out of the box, there are two types of task trees that can be attached to a service item, Complete and Create. You can have multiples of each type per service item.
 
To add a task tree, click on the Add button on the Tasks tab. You will be asked if you want to create a new task tree, or copy an existing tree.
 
If you select to add a new tree, you will have a dialog, that asks you to complete the following information, tree name, tree type (complete, create) and status.
 
If you choose to copy an existing, there is a drop-down list of all the existing trees to choose from. After selecting the tree, a dialog for cloning the tree displays, and allows you to select a new name for the tree.

Task Builder

The Task Builder is available by clicking on the "Launch Builder‟ button on the right side of the table on the Task tab.

Example Task Builder:

task_builder_basic.png

 

Available Tasks are listed along the right side of the builder. Active (used in the tree) and Misconfigured (incomplete or missing parameters normally) are listed first under a Search for Tasks field. The Save and Logout buttons are located along the top right of the main builder window next to a Node search field.
 

Configuring Task Nodes

Nodes are created by dragging a Task from the task list onto the main section of the task builder. After dragging the Task on to the tree, click on the “i” icon (or double-click the node body) to reveal the parameter configuration. The “X” image will delete the node and its attached connectors. The V icon allows you to drag connectors to other nodes
 
Node Example:
basic node.JPG

Along the top of the node you can customize the name to make it relevant to your process. Next to the name are the options for Visible and Defers. If visible is checked, the node and its message will display on the portal page (configurable by portal, but normally the case). If Defers is checked, the node will wait for a trigger before continuing along the tree. The id is a unique name for the node that is used in the task engine.

 

Node Parameters:
node parameters.JPG
Each node can have from none to potentially unlimited parameters (unlikely). If there is an asterisk next to the parameter name it is required. The pencil next to the node opens an edit window (dealt with in future chapters).
 
Activity Eleven - Create a simple Task Tree