Learning about Task Management


A task is the smallest unit of work that needs to be performed to fulfill a service request or a request for change. Tasks facilitate the timely and accurate resolution of requests that are complex or contain several steps. Change implementers can associate multiple tasks with a change. Tasks for the same request can be assigned to different assignees, who are then notified. Change implementers can also assign tasks to themselves.

Change implementers can use the task templates or the task group templates that the task administrator sets up as they work on a change request. The status of all tasks must be marked as Closed (with a status reason of Success, Canceled, or Failed) before a change request can be closed. A use with Task User permission can close the tasks.

The following screenshot displays a task that is related to a change request:

task overview.png

Process overview

The Task Management process starts with the creation of a task and ends with the completion of the task. Out-of-the-box, you can create tasks for the following phases of a change request. However, you can configure the Task Management process to create tasks at any phase of a change request. For more information, see Configuring-task-phases.

  • Review
  • Business Approval
  • Implementation

You can create tasks manually or automatically, and the status flow of both the type of tasks is the same. The following diagram shows the status flow of a task with respect to a change request:

task flow.png

The following table describes the end-to-end process of a task:

Phase

Role

Action

Reference

Initiation

Change Coordinator

Creates a task or a task group by using a template or from scratch. 

Planning

Change Coordinator

The workflow automatically assigns the task to an individual or support group. 

Executing

Change Manager or Change Coordinator or Task Assignee

  • The Change Manager or Change Coordinator updates the task with additional information, such as financial information status, or changes the sequence of the tasks.
  • The Task Assignee starts working on the tasks.

Closure

Task Implementer

Completes all the tasks created for the completion of the change request. For examples; the Task Implementer closes all the tasks created for the decommissioning of a virtual machine.  

Task Templates

task template defines a unit of work that carries out a single step in handling a change. At runtime, task templates are generated as tasks. 

The following figure provides an overview of using change templates for standard changes. For example, each time you get a request to activate a phone line, you can perform some of the same steps, such as using change templates for standard changes.

change-template-diagram_135993_516.gif

  • Verify the employee's specific details
  • Search for an available phone number to assign
  • Activate the line
  • Test the line
  • Schedule an appointment for a technician, if necessary
  • Notify the employee that the service is active

The following figure illustrates the definition and execution stages when an advanced task group template is used:

Definition and execution stages.gif

Task Management System (TMS) has two stages: the Definition stage and the Execution stage. During these stages, the application administrator performs the following actions:

  • In the Definition stage, the application administrator performs the following actions:
    • Configures the TMS objects
    • Determines the associations that establish the relationship and hierarchy between TMS objects
    • Defines and configures:
      • Task Groups Templates
      • Tasks Templates
      • Association Templates
      • Flow Templates and Variable Templates
  • In the Execution stage, the application administrator performs the following actions:
    • Instantiates the predefined Task Group, Task, Association, and Flow Templates within the applications that integrate with TMS.

      Important

      The process of transforming objects configured within the Definition Stage to actionable objects within the Execution Stage is called instantiation.

    • Copies instantiated objects according to their parent object's (task group templates) mapping and their relationship definitions to the corresponding child objects.

When a task group template is instantiated at runtime, the corresponding task group and tasks as well as mapping and relationship definitions are copied according to the task group template definition (task group template, tasks, associations, and flows).

Sequencing mechanism

You can use sequence numbers to define the order in which tasks or task groups are executed. This sequencing mechanism saves you time, by eliminating the need to manually define the flow between tasks or task groups.

For example, as a change request user, you can add three tasks from the list in a task template, and then specify the order in which they execute (1, 2, and 3). This is equivalent to configuring a successor and predecessor model as Start'Task1'Task2'Task3.

The sequence for each task or task group that you enter is converted to a flow definition in TMS. In the preceding example, when three tasks are ordered as 1, 2, 3, three flows are created automatically as follows:

Flow#1: Start ' Task1
Flow#2: Task1 ' Task2
Flow#3. Task2 ' Task 3

Important

To ensure the tasks and task groups are executed, there is no functional difference between this flow definition and the sequence model implemented in previous versions of BMC Helix ITSM. To apply a strict sequencing model, certain configuration settings are fixed.

The sequencing mechanism has the following fixed settings on the flow object that cannot be changed:

  • Evaluate if Predecessor Failure? "No"
  • Evaluate if Predecessor Canceled? "Yes"
  • Flow to Successor when "All Complete"

With these settings, all tasks and task groups in the same sequence must be completed before the tasks or task groups in the next sequence level can begin. For example, in the following table, Task 4, 5, and 6 (at Sequence level 2) are activated only if Task 1 (at Sequence level 1) and Task 2 (at Sequence level 1) is completed.

Sequence level

Task

Sequence 1

Task 1, Task 2

Sequence 2

Task 4, Task 5, Task 6

Sequence 3

Task 7, Task 8, Task 9

When a task or task group is added, the default sequence is the next available sequence level. For example, in the following table, if a Task 10 is added to the list of existing tasks, it would be set at sequence level 4.

Sequence level

Task

Sequence 1

Task 1, Task 2

Sequence 2

Task 4, Task 5, Task 6

Sequence 3

Task 7, Task 8, Task 9

Sequence 4

Task 10

After a task is added, you can change the ordering using the sequence number. Increasing the sequence number moves the task down the list. Decreasing the sequence number moves the task up the list.

During runtime, the following rules ensure the integrity of the process flow:

  • The sequence cannot move to a prior sequence level that is completed.
  • The sequence level cannot be changed on an active or completed task.

You can change the sequence number using the up and down buttons on the user interface, or by setting the sequence number directly in the corresponding column on the table field.

Important

Passing data values between tasks or task groups is not supported while in the Sequencing mode. The system does not stop you from setting the variable for a task or task group while in this mode; however, because the sequence can be changed, the logic for passing the data and the variables between the tasks or task groups might no longer be valid.

During the Definition stage, sequence and dependency information is stored in the Flow template. During the Execution stage, the association information is stored in a separate Flow table.

The following figure illustrates the sequencing model.

Sequencing_117321_516.gif

Flow mechanism

The flow mechanism defines the sequence and dependency between task templates within a task group template, and between tasks within a task group.

Flow is a configuration process that determines how a task or task group is processed at runtime. For example, tasks and tasks groups can be carried out sequentially or simultaneously. Flow is defined based on the association between a task and task group. Flow cannot be established if no association exists. Association is what the other instances are, in relation to the current instance. Flow is how these instances are executed.

A flow consists of one or more flow relationship records. Each flow relationship record is capped by an inbound and outbound task object. The task object is a task template (Definition stage), task (Execution stage), task group template (Definition stage), or a task group (Execution stage). The inbound task object to a flow relationship record is called the predecessor. The outbound task object to a flow relationship record is called the successor.

When you define a task group template, you can establish how the associated task group template and task templates relate to one another. This is called flow, and determines the sequence in which task groups and tasks are generated at runtime.

A task or task group can be executed simultaneously or sequentially. When the flow is defined as a sequence, all predecessors must be completed before the successor task or task group can start.

The flow is also determined by the outcome of the predecessor. The resulting output can be stored as a variable. The values in these variables can be used by workflow to decide the behavior of the flow.

For example, in the following illustration the flow, represented by the diamond, indicates that if Task 1 is flagged as successful, Task 2 is activated. Otherwise, Task 3 is activated.

The following figure illustrates a branching flow. 

flow-mechanism.gif

The flow configuration is evaluated along with other advanced settings, such as conditions, actions, and behavior, when the task is completed (State = closed, success, failed, or canceled). 

For a detailed example of building flow into your tasks, see Creating-task-templates.

Testing your knowledge

Check your knowledge. See if you can answer each question. Click the questions to view the answer.

What is the sequence in task management?

The sequence is the order in which the tasks are executed one by one.

What are the stages in task management?
  • Definition stage
  • Execution stage

Do you want to learn more?

For more information about creating task, see Creating-and-modifying-tasks.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*