This documentation supports the 20.08 version of BMC Helix Business Workflows.

To view the documentation for the previous version, select 20.02 from the Product version menu.



Automating tasks for quicker case resolution

Case business analysts can automate tasks in a case so that the tasks can be executed automatically without any user intervention. For information about task automation concept, see Task automation. You can create task templates to define an automated task and you can associate these templates to a case.

You must perform the following tasks to create a task template for an automated task:

TaskActionReference
1Create a task template for an automated task.Create a task template for an automated task
2

(Optional) Add dynamic fields to the task template so that you can use these fields as input or output for the next steps in the task.

Add dynamic fields to the task template for an automated task
3(Optional) Add dynamic groups to the task template so that you can categorize the dynamic fields.

Add a dynamic group to the task template for an automated task

4

Edit process to define your automated task.

If you are using dynamic fields in the task template,  modify the process to update the dynamic fields.

Edit process and manage dynamic fields associated with a task template
5Associate the task template for your automated task to a case template.Associate the task template to a case template

To create a task template for an automated task

  1. Log in to BMC Helix Business Workflows.

  2. Click My Application Settings .
    The Settings page opens in a new browser tab.

  3. Select to Task Management >Task Templates.
  4. On the Task Templates page, click .
  5. On the Add Task Template page, enter values for the Template NameTask SummaryTask DescriptionTask Priority, and task category fields, and complete the other fields as described in the following table: 

    Field sectionFieldDescription
    Task fieldsCreate New Process?

    Choose whether you want to create a new process or use an existing process.

    • To create a new process, click .
      A new process is created that consists of only the Start element, Stop element, and basic properties. You must edit this process as per your requirements. You do not need to register the process.
    • To use an existing process, click .
    Process Bundle IDIf you are creating a new process, select the application or library in which you want to create the new process from the list.
    This field is displayed only when you select the option of creating a new process.
    Important: Select only the application or library
    to which you have access from the list of applications and libraries.
    New Process NameEnter a process name.
    This field is displayed only when you select the option of creating a new process.
    Process Name

    Select the required process name from the list.

    This field is displayed only when you select the option of using an existing process.

    Task CompanySelect the company for which you want to create the template. Select one of the following options:
      • Global—All companies in a tenant can view the template.

      • A company name—Only agents of the selected company can view the template.

    LabelSelect a label for the task template.
    You can filter the templates based on a specific label.
    Template MetadataTemplate Status

    Select one of the following statuses:

    • Draft—This is the default status of a new template
      In the Draft status, the template is not available for use.
    • Active—The template is available for use.
      Important: Only active 
      templates are searchable and available for use. 
    • Inactive—The template is redundant, and no longer in use.
    Owner Company, Business Unit, Department, Owner Group, and Owner

    To define a group or user as the owner of the template, click Change Owner.

    • To make yourself the owner of the template, perform the following step:

      1. Select Assign to me.
        If you belong to multiple support groups, a list of those support groups is displayed. To add yourself as the owner from a particular support group, select the support group from the list.

    • To make a support group or user the owner of the template, perform the following steps:
      1. Select a combination of CompanyBusiness Unit, and Department.
        A list of all the users of the support groups directly related to the selected combination of company, business unit, and department is displayed.
      2. Select a value from the Support Group list.
        Only support groups directly related to the selected combination of company, business unit, and department are listed. Additionally, if there is an active domain, only support groups from that domain are displayed. For example, if you select the company as Calbro Services and the business unit as Human Resources, all support groups defined for Human Resources are displayed in the list.
      3. Select a support group or user from the list.
        If you select a user, the user must have access to the company for which the template is being created.
      4. Click Assign.

    Important:

    • You can make a support group or a user of the support group of any other company that you have access to as the owner of the template.

    • In the Company field, only Operating - Internal, Operating - Customer, and Service Provider companies that you have access to are listed.

    Details of the individual or group to which the case should be assigned is displayed based on selected values.


    To make yourself the owner of the template, click this option.

    Important: You must belong to a support group to be the owner of the template.

  6. Click Save.

Best Practice

We recommend that you associate a separate process for every automated task template. If you create multiple task templates by using the same process, the dynamic fields associated with different task templates get combined and are displayed on every template page.

Important

A process that is associated with an automated task in the BMC Helix Business Workflows versions earlier to 19.02, now has a document variable added to it.

 To add dynamic fields to the task template for an automated task

After you create a task template for an automated task, you can add dynamic fields to the task template either from the dynamic field library or by creating a dynamic field directly from the template. To add dynamic fields to the task template, perform the following steps:

  1. Log in to BMC Helix Business Workflows.
  2. Click My Application Settings .
    The Settings page opens in a new browser tab.
  3. Navigate to Task Management Task Templates.
  4. On the Task Templates page, select the required task template for an automated task. Ensure that the template is not in the Active status.
  5. On the template page, click Manage Process Fields.
    • To add a dynamic field to a template, perform the following steps:
      1. Click Add Dynamic Field > New Field.
      2. Specify the details such as Field DescriptionField Name, and complete the additional details as described in the following table:

        Field

        Description

        Field Value TypeSelect the type of the dynamic field from the list. 
        The field values support all value types except multi-select and radio button types.
        Information SourceSelect the source from which you want to collect the response to the dynamic field while creating a case.
        You can choose one of the following sources from the list:
        • Requester—A requester provides responses to the dynamic fields while creating a case.
        • AgentA case agent provides responses as required while working on a case.
        • Task assigneeA Task assignee provides responses when executing a task associated with the case.
        • System—Select this option when you want an automated task to populate the information automatically without any user intervention. 
        Required

         To make the response to the dynamic field mandatory while resolving a case, select Required .

    • To add dynamic fields from the dynamic field library, perform the following steps:

      1. From the Available Dynamic Fields list, select a dynamic field. 
        The list displays all the Active dynamic fields which are available in the dynamic field library.

      2. (Optional) Update the Information Source and Required fields.

  6. Click Save.

To add a dynamic group to the task template for an automated task

  1. Log in to BMC Helix Business Workflows.

  2. Click My Application Settings .
    The Settings page opens in a new browser tab.

  3. To add a dynamic group to a task template, select Task Management > Task Templates.

  4. From the template details page, open the required template from the list.

    You can edit templates that are in the Draft status.

  5. On the template details page, click Manage Dynamic Fields.

  6. On the Manage Dynamic Fields dialog box, click +Dynamic Group, complete the following fields, and click Save.

    FieldDescription
    Group NameEnter a name for the dynamic group. The name is unique for every group.
    Important
    : Do not use a dot (.) in the name of the dynamic group.
    Group Display LabelEnter a label for the dynamic group.
    ActiveSelect this option to display the group while creating a task.
    Publish in LibrarySelect this option to publish the group to the dynamic group library so that you can use the group in another case template.
    If you do not select this option the group is only available for the case template in which you create the group.


  7. On the Manage Dynamic Fields dialog box, expand the dynamic group, and add dynamic fields to the group by using any of the following ways:

    1. To add a new dynamic field to the group, click +Dynamic Field, and specify the values for the dynamic field.
    2. To add an existing dynamic field to the group, in the Available Dynamic Fields section, search for the dynamic field, and drag the field to the group.
  8. To change the order of a dynamic field in the group, drag the field to the desired location.
  9. Click Save.

To edit process and manage dynamic fields associated with a task template for an automated task

While creating a task template, if you have selected to create a new process, you must edit the process that gets created by default to meet your requirements. Also, if you have added dynamic fields or dynamic groups to your task template and you want to update them automatically by using the process, in the process you must add steps to manage the dynamic fields and dynamic groups. You can use the Update Task Data element in the Process designer of BMC Helix Innovation Studio for managing the dynamic fields and dynamic groups. 

To edit process and manage dynamic fields associated with a task template, perform the following steps:

  1. Log in to BMC Helix Business Workflows.
  2. Click My Application Settings .
    The Settings page opens in a new browser tab.
  3. Select Task Management Task Templates.
  4. On the Task Templates page, select the required task template for an automated task. Ensure that the template is not in the Active status.
  5. On the template page, click Edit Process.
    The Process designer of BMC Helix Innovation Studio opens in a new window. In the Process designer, a template of the process is displayed with the Process and Document variables populated.

  6. In the Process designer, modify the process as per your requirement.

  7. (Optional) If you have added dynamic fields to your task template, perform the following steps to update them automatically:

    1. From the Palette, drag the Update Task Data element to the canvas where you want update the dynamic fields or dynamic groups in the process.
    2. In the Element properties pane, enter values in the required fields, such as Action Type NameLabel, and so on, and complete the other details as described in the following table:

      SectionFieldDescription
      GENERALRun asSelect the Inherit from Process option from the list.
      The process in which you want to use the Update Task Data element is set to defined requirements.
      INPUT MAP

      Task ID
      1. Click Click to build an expression. 
      2. On the Edit Expression page, select  from the list displayed in the Available Values pane.

      The Task ID option indicates the task ID of a task created by using a task template so that the dynamic fields associated with the task template are updated.

      Document Definition NameSelect a value from the list.
      The document definition name must be same as that of input Document Definition.
      Add/Remove Documentation NodesClick this option and from the list select the dynamic fields which you want to update, and click Apply.
      The list displays all the dynamic fields associated with the task template.

      After you add the dynamic fields, click Click to build an expression to enter an expression for updating the dynamic fields.
  8. Click Save and go to the previous window to see the template details page.
  9. Change the status of the template to Active.

To associate a task template for an automated task to a case template

  1. Log in to BMC Helix Business Workflows.

  2. Click My Application Settings .
    The Settings page opens in a new browser tab.

  3. Select Case Management > Case Templates.
  4. On the Case Templates page, select the required case template. Ensure that the case template is not in the Active status.
  5. On the template details page, click Add Tasks.
    A list of active task templates for the selected company is displayed.
  6. Select the template for the automated task that you want to use and click Save.

Best Practice

We recommend that you associate task templates to a case template in sequence in which you want the tasks to execute. For more information about sequence of tasks, see Task flow.
Agents can also add an automated task to a case. For more information about adding tasks to a case, see Associating cases, knowledge articles, and related users to cases.

Modifying a task template for an automated task

Only a case business analyst can modify a task template for an automated task. You can modify the following template details based on your access permissions:

Access to the application or library that you want to editSubmitterBelong to template owner groupTemplate details that you can modify
(tick)(tick)(tick)Dynamic fields and other details such as priority, categories, metadata, and so on
(tick)(error)(tick)
(tick)(tick)(error)
(tick)(error)(error)Dynamic fields only
(error)(error)(tick)Other details except dynamic fields
(error)(error)(error)None

Related topics

Task automation

Process designer elements

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Fred Rickaby

    The page states that it will provide an "end-to-end use case on how you can create the task". The example steps are not complete. Instead of linking to Innovation Studio documentation, please include the steps to create a process that functions as an automated task in the context of a Business Workflows Task.

    May 11, 2018 02:55
    1. Poonam Morti

      We have updated the topic.

      Thanks,

      Poonam

      Jan 22, 2020 05:05