This documentation supports the 20.08 version of BMC Digital Workplace Advanced, which is available only to BMC Helix subscribers (SaaS). To view an earlier version, select the version from the Product Version menu.

TrueSight Orchestration (TSO) connector


The TrueSight Orchestration (TSO) connector enables BMC Digital Workplace Catalog to use BMC TrueSight Orchestration services as a fulfillment engine. BMC TrueSight Orchestration invokes workflows that connect with third-party applications to fulfill a requested service. The integration requires BMC Truesight Orchestration Content pack 20.16.02 and later.

External account requirements

You must have the BMC TrueSight Orchestration user account with the Grid Management, Development Studio, and workflow execution permissions for the required modules.

Configuration parameters for the TSO connector

Before you can use the TSO connector in workflows or to import services, you must perform the following steps:

  1. Install the BMC MyIT Service Broker module in BMC TrueSight Orchestration as described in Installing BMC MyIT Service Broker module.

  2. Configure adapters and modules required for the integration, as described in Configuring TrueSight Orchestration Content.

  3. Configure a connection, as described in Configuring-service-connectors.
    The following table describes the parameters required to create a connection:

    Parameter

    Examples

    Description

    URL

    https://clm-pun-001234.clm-mgmt.clm.bmc.com:38080

    Specifies the URL to the BMC TrueSight Orchestration peer in the following format: https://host.name:port.

    Login

    tsoadmin

    Specifies the user name required to log in to the BMC TrueSight Orchestration environment. 

    Password

    tsoAdmin!

    Specifies the password that matches the user name.

    Trust Self-Signed Certificates

    true

    Specifies whether to trust environments with self-signed certificates. The valid values are true (accept) or false (do not accept).

    Note: Any value that is different from true or false is interpreted as false.

Catalog import capabilities

By using the TSO connector, you can import workflows from BMC TrueSight Orchestration as services in BMC Digital Workplace Catalog. The default integration provides the following TSO workflows that you can import as services or call from BMC Digital Workplace Catalog workflow:

  • Unlock an account
  • Extend mailbox size
  • Onboard a new employee
  • Offboard an employee

Administrators can expose additional BMC TrueSight Orchestration workflows by editing the TSO server configuration.

When you import a service through the TSO connector, you import only the service description details. You must define a BMC Digital Workplace Catalog workflow that calls the TSO service workflow and provides the required parameters, so that the service is fulfilled through the TSO connector. 

For more information about the import, see Importing-service-catalog-items-from-external-systems and Importing-service-categories.

Workflow actions available through the TSO connector

The following table provides an overview of all TSO connector actions:

Action

Description

Input parameters

Possible output

Invoke BAO service

Use this action to request the available TSO services asynchronously.

Job Id—An ID of a service execution.

Invoke BAO service sync

Use this action to request the available TSO services synchronously.

Job Id—An ID of a service execution.

Get BAO service status

Use this action to request the statuses of previously requested TSO services.

  • Status—A service execution status. 
    The possible values are:

    • Assigned—The process is started, running, or paused.
    • Completed—The process was executed successfully.
    • Compensated—The process failed to execute successfully.
    • Cancelled—The process was cancelled.
  • Params—The parsed output parameters of the service status response.

    Note: The parsed parameters have a dynamic structure and might change for different services.

Example: Workflow for a service that sends in-app notification about TSO service status

The following example workflow sends an in-app notification after invoking a TSO service and getting the status of the service request.

bao_workflow.jpg

To build the workflow shown in the figure, perform the following steps:

  1. In the workflow designer in BMC Digital Workplace Catalog, set a workflow name (for example, Invoke BAO Send SMS).
  2. Add two text variables to the inputs of the workflow: Message and Phone Number.
  1. Drag and drop the following actions onto the canvas:
    • Build Input Set
    • Invoke BAO Service
    • Get BAO Service Status
    • Send In App Notification
  1. Provide the following input values to the actions:

    • Build Input Set:

      Key

      Value

      Message

      Message input parameter

      Phone Number

      Phone Number input parameter

    • Invoke BAO Service:

      Parameter

      Value

      Connection Id

      ID of the TSO connector’s connection object. Taken from the workflow’s Connection Id variable.

      Service Id 

      Send SMS

      Input Parameters

      Inputs property of the Build Input Set action

    • Get BAO Service Status:

      Parameter

      Value

      Connection Id

      ID of the TSO connector’s connection object. Taken from the workflow’s Connection Id variable.

      Job Id 

      Output property of the Invoke BAO Service action

    • Send In App Notification:

      Parameter

      Value

      Receiver 

      hannah_admin

      Title 

      TSO Send SMS Status

      Content 

      Status property of the Get BAO Service Status action’s output

  2. Save the workflow.

For more information about configuring services in BMC Digital Workplace Catalog, see the following references:

Task

Reference

To create service a workflow

To create a service questionnaire

To add a service

Invoke BAO service input parameters

Required

Parameter name

Data type

Example

Description

Required

Connection Id

String

TSO

Default Connection ID for the TSO connector.

Required

Service Id

String

Unlock an account

A name of a TSO service to be invoked.

Note: The service name must match the one defined in the BMC MyIT Service Broker module configuration in BMC TrueSight Orchestration.

Conditional*

*Required if a service expects mandatory input parameters

Input Parameters

Map

configuration name=BMC_AR_System,incident number=INC000000000011

A mapping of input parameter names (questions) to values (answers).

Should be created with the Build Input Set action in BMC Digital Workplace Catalog.

The Input Parameters name is different for each service, and can be discovered by requesting the service details.

Get BAO service status input parameters

Required

Parameter name

Data type

Example

Description

Required

Connection Id

String

TSO

Default Connection ID for the TSO connector.

Required

Job Id

String

ExampleID01

An ID of a previously started TSO service execution.

Conditional*

*Required if a service expects mandatory input parameters

Input Parameters

Map

configuration name=BMC_AR_System,incident number=INC000000000011

A mapping of input parameter names (questions) to values (answers).

Should be created with the Build Input Set action in BMC Digital Workplace Catalog.

The Input Parameter name is different for each service, and can be discovered by requesting the service details.

 

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