This documentation supports the 23.3 and consecutive patch versions of BMC Helix Multi-Cloud Broker.

To view an earlier version, select the version from the Product version menu.

Synchronizing incidents with Service Cloud cases via BMC Helix iPaaS, powered by MuleSoft

As an administrator, you can integrate BMC Helix ITSM with Salesforce Service Cloud to synchronize BMC Helix ITSM incidents with Service Cloud cases.

BMC Helix Multi-Cloud Broker, along with BMC Helix iPaaS, powered by MuleSoft, provides an out-of-the-box integration template to integrate BMC Helix ITSM with Service Cloud. You configure the integration in BMC Helix Multi-Cloud Broker and deploy the integration template to your BMC Helix iPaaS, powered by MuleSoft environment.

The following image gives an overview of the capabilities that this integration supports:

This integration provides the following capabilities:

Use case

BMC Helix ITSM to Service Cloud

Service Cloud to BMC Helix ITSM

Create tickets

Creates a Service Cloud case from a new BMC Helix ITSM incident.

Important: While creating an incident, in the Affected Service list, select Salesforce Chatter Service.

Creates a BMC Helix ITSM incident from a new Service Cloud case

Synchronize updatesNA

Updates the vendor data in BMC Helix ITSM when a case is updated in Service Cloud

Synchronize comments

(with and without attachments)

Adds a feed item and feed comment to a Service Cloud case from a worklog in a BMC Helix ITSM incident.

Important: To display the incident worklog details in the corresponding case, while adding the worklog, select Share with Case and Public checkboxes.

Adds a worklog to a BMC Helix ITSM incident from a Service Cloud case feed comment and feed item

Service Cloud to BMC Helix ITSM data flows

The following images give an overview of the data flow for creating a BMC Helix ITSM incident from a Service Cloud case:

The following images give an overview of the data flow for updating a BMC Helix ITSM incident from a Service Cloud case:


BMC Helix ITSM to Service Cloud data flows

The following images give an overview of the data flow for creating a Service Cloud case from a BMC Helix ITSM incident:



The following images give an overview of the data flow for updating a Service Cloud case from a BMC Helix ITSM incident:

Before you begin

You require the following items to successfully set up and use this integration: 

Required versions
  • BMC Helix ITSM version 20.08 and later
Authentication and permissions
  • Administrator access to BMC Helix Innovation Studio, BMC Helix Multi-Cloud Broker, and BMC Helix ITSM to run this integration
  • Administrator access to the Service Cloud account and the Service Cloud security token
  • The MuleSoft instance URL is added in the Remote Site Settings field in Service Cloud
  • A read-only custom field named Corelation_ID (label: Corelation ID) is created under a case in Service Cloud
    The field should accept 50 character alphanumeric value. This field gets updated with the Remedy Incident Number value from the BMC Helix Multi-Cloud Broker incident
  • Access to create and update incidents in BMC Helix ITSM
  • If you use Kafka, the mcbVendor topic is created manually
Subscription
  • A valid MuleSoft Anypoint platform license Open link
    Important: BMC provides pre-build integration templates for the MuleSoft platform, targeting common integration use cases for BMC products. To obtain a MuleSoft platform license, contact MuleSoft support.

Task 1: To configure the integration

  1. Log in to BMC Helix Innovation Studio.
  2. On Workspace, click Multi-Cloud Broker.
  3. To launch BMC Helix Multi-Cloud Broker, click Visit Deployed Application.

    Tip

    You can access BMC Helix Multi-Cloud Broker directly by entering the URL https://hostName:portNumber/helix/index.html#/com.bmc.dsm.mcsm/login and logging in as a tenant administrator.

  4. Click Settings .
  5. Select Start Here > Quick Configuration Guide.
    The Quick Configuration Guide page is displayed.
  6. On the Step 1: Choose configuration tab, and perform the following steps:

    1. From the Choose configuration list, select Helix iPaaS(powered by MuleSoft).   

    2. Select any of the following features and click Next:
      • To broker incidents from BMC Helix ITSM to Salesforce Service Cloud, under Ticket Brokering, select ITSM Incident to Salesforce Service Cloud Case.

      • To consolidate cases from Salesforce Service Cloud to BMC Helix ITSM, under Ticket Consolidation, select Salesforce Service Cloud Case to ITSM Incident.

  7. On the Step 2: Perform configurations tab, perform the following steps:
    1. Add an operating organization, if you have not already done so.
    2. Add Salesforce as the vendor organization, if you have not already done so.
    3. To add vendor metadata for Service Cloud, click Map vendors, and perform the following steps:
      1. On the Map Vendors page, click Map Vendor.
      2. Complete the fields as described in the following table:

        Field

        Action

        DescriptionEnter a description for the Service Cloud vendor metadata configuration.
        Ticketing Technology ProviderFrom the list, select Service Cloud.
        (Optional) Instance NameIf you are using multiple instances of Service Cloud, enter the instance name that you are using to identify it.
        Add Mapping

        After you select the ticketing technology provider, click Add Mapping. BMC Helix Multi-Cloud Broker displays the default values in the Instance URL field and the Display Field Mapping section.

        InstanceURLIf you have clicked Add Mapping, this field is auto-populated. Update the URL and replace the Service Cloud server with the correct host name.
        Vendor Field MappingDo not change the default mappings.
        Display Field Mapping

        By default, the basic Service Cloud fields are mapped in this section. If you want to map additional fields to be displayed in the BMC Helix ITSM UI, add the relevant mappings by clicking .

        Enable Local ITSM Communication

        By default, this toggle key is enabled. 

        If you want to use BMC Helix Integration Service as the underlying integration platform, disable this toggle key.

        Resolve Incident Ticket When Vendor Closes It

        By default, this toggle key is enabled so that when a Service Cloud case is closed, the corresponding BMC Helix ITSM incident is also closed.

        You can disable the toggle key, if required.

        Integration PlatformFrom the list, select MuleSoft.
      3. Click Save.

    4. To fetch incidents from BMC Helix ITSM, click Define filter criteria to fetch records from ITSM to Helix Multi-Cloud Broker for incident, and perform the following steps:

      1. From the Select trigger event for incident list, select the operation for which you want to fetch the incidents.

      2. In Advanced filter, select any of the available filters.

      3. Click Save.

        When an incident matches the operation and filter that you have selected, the system fetches that incident to BMC Helix Multi-Cloud Broker.

    5. In the Configure Service Cloud integration section, refer to the configuration steps listed and select the check boxes as you complete each step.

    6. Click Save.

Task 2: To download and deploy the integration template project

  1. Download the Sync BMC Helix ITSM incident and Salesforce Servicecloud case 2022-03-01 Open link  file.

  2. Log in to MuleSoft Anypoint Platform and select Runtime Manager

  3. On the Applications tab, click Deploy application and select the .jar file that you downloaded.

  4. On the Deploy Application page, on the Runtime tab, select the following values in the fields displayed: 

    Field nameAction
    Application NameEnter a unique name for your application.
    Deployment TargetSelect the space for deploying the application, for example; CloudHub.
    Application FileSelect Choose File > Upload file, and select the Integration template .jar file.
    Runtime tab
    Runtime versionSelect the MuleSoft runtime version used to develop the application.
    Work size

    Select a core size for your application. 

    The core size defines resource allocation for your application and impacts performance. 

    For more information about worker size, see  Cloudhub workers Open link .

    Workers

    Select the number of dedicated instances of Mule for the application.

    Deploying your application with more than one worker balances incoming load across allocated worker nodes. It also provides a backup if any of the worker nodes is not responding.

    Important

    Once you deploy the application, enter your application URL in Remote Site Settings in Service Cloud. This makes sure that Service Cloud whitelists your application and creates an incident in BMC Helix ITSM.

  5. To add the template configuration values, on the Properties tab of the Deploy Application page, add the following values:

    KeyAction
    Kafka properties (Mandatory only if you are using Kafka)
    kafka.use

    To enable the Kafka queuing mechanism for incoming Webhook requests for fault tolerance, set the value to true.

    By default this value is set to false

    kafka.bootstrap.server

    Enter the Kafka server URL in the following format:
    <hostname>:<port>

    Important: If the Kafka messaging system is disabled, enter localhost:9092 in this key.

    MuleSoft API Webhook properties
    api.integrations.name

    Enter the name of the API that is created in BMC Helix iPaaS, powered by MuleSoft to receive BMC Helix Multi-Cloud Broker webhook requests.

    Use the following syntax to enter the API name: 

    BHIP_<APIName> 

    For example, BHIP_CreateIncident.

    api.integrations.profile.usernameEnter the user name for the Basic type of authentication to configure the webhook.
    api.integrations.profile.passwordEnter the password for the user name that you provided.
    Salesforce Service Cloud properties
    vendor.connector.urlEnter the Service Cloud instance URL in the following format:
    [http/https]://[host name and port]/services/Soap/u/[version number]
    vendor.connector.usernameEnter the user name to enable access to Service Cloud.
    vendor.connector.passwordEnter the password for the user name that you provided.
    vendor.connector.security.tokenEnter the API security token for Service Cloud if the user requires it.
    vendor.property.apex.nameEnter a name for the Service Cloud apex class; for example, enter SFSC_MCB.
    vendor.property.apex.create.conditionEnter a trigger condition in the SOQL format to filter cases from Service Cloud; for example, enter Status = 'Escalated'.
    vendor.property.apex.update.conditionEnter a trigger condition in the SOQL format to filter cases from Service Cloud; for example, enter Status = 'Escalated'.

    BMC Helix Multi-Cloud Broker properties

    mcb.connector.protocolEnter HTTP or HTTPS.
    mcb.connector.url

    Enter the BMC Helix Multi-Cloud Broker URL to which the Service Cloud cases should be synchronized.

    mcb.connector.username

    Enter the user name that enables users to interact with BMC Helix Multi-Cloud Broker.

    mcb.connector.passwordEnter the password for the user name that you provided.
    mcb.property.vendor

    Enter the name of the vendor with which you are integrating BMC Helix ITSM; for example, enter Service Cloud.

    BMC Helix ITSM properties

    itsm.property.company.nameEnter the company name for which the integration template needs to be run; for example, Apex Global.
    itsm.property.first.name

    Enter the first name of the BMC Helix ITSM customer.

    itsm.property.last.name

    Enter the last name of the BMC Helix ITSM customer.

    itsm.property.incident.typeEnter any of the following incident types that you want to create for a corresponding Jira issue:
    • User Service Restoration
    • User Service Request
    • Infrastructure Restoration
    • Infrastructure Event
    • Security Incident

    By default, this value is set to User Service Restoration.

    itsm.property.assigned.group

    Enter the name of the support group to which you want to assign the incidents.

    itsm.property.assigned.support.organization

    Enter the name of the support organization to which you want to assign the incidents.

    itsm.property.assigned.support.company

    Enter the name of the support company to which you want to assign the incidents.
    itsm.property.assigned.companyEnter the name of the company for which you want to create the incidents.
    Email properties
    email.property.protocolEnter SMTP or SMTPS.
    email.property.smtpEnter the SMTP server details in the following format: [SMTP Server>[:<SMTP Port>]
    email.property.senderEnter the email address from which you want to send the emails.
    email.property.recepients

    Enter the email address of the user to whom you want to send the emails.

    Use comma-separated values to specify multiple email addresses; for example, allen@apexglobal.com, mary@abc.com.

    email.property.usernameEnter the user name to access the SMTP server.
    email.property.passwordEnter the password for the user name that you provided.
    email.property.smtp.starttls

    To enable the Transport Layer Security (TLS) handshake, set this value to true.

    The default value of this key is false

  6. Click Deploy Application
    While the application is being deployed, the log updates are displayed. After the application is successfully deployed, a green circle is displayed next to the template name.

(Optional) Task 3: To verify and update field mappings defined for the template

  1. After you deploy the application in MuleSoft Anypoint Platform, export the project. 
  2. Log in to MuleSoft Anypoint Studio and import the project.
  3. Select projectName > src/main/resources > config.
  4. Double-click the mule-mappings.yaml file, update the <app>Field value to modify the mapping for the field, and then save the file. 

  5. Select the project name and then select File > Export.
  6. On the Select dialog box, select Mule > Anypoint Studio Project to Mule Deployable Archive (includes Studio metadata), and click Next.
  7. On the Export Mule Project dialog box, click the ellipses (...) and select the location and name for the file.

  8. Select the following options:

    • Attach project sources

    • Include project modules and dependencies

  9. Click Finish.

  10. Deploy the application on the MuleSoft Anypoint platform. 

Task 4: To enable the integration

To enable the integrations, you need to run the webhook creation scripts from your MuleSoft Anypoint Platform. These scripts automatically create the required webhooks for the integration.

  1. On the application details page, click Schedules

  2. From the following list, select the appropriate schedule and click Run Now:

    Important

    • Run one Service Cloud schedule at a time to create one Service Cloud webhook at a time.
      First, create the Apex Class webhook and then create the Apex Trigger webhook.

    • At a time, run all the BMC Helix Multi-Cloud Broker schedules to create all the webhooks together or run one BMC Helix Multi-Cloud Broker schedule to create one webhook.
    Schedule nameActions performed

    Schedules to create operations from BMC Helix ITSM to Service Cloud

    MCB-Create-Integration-Create-VendorTicket_Manual Trigger

    Creates a Service Cloud case when an incident is created in BMC Helix ITSM

    MCB-Create-Integration-Create-VendorWorklog_Manual TriggerCreates a feed item or feed comment in a case when an activity note is added to the corresponding incident
    MCB-Create-Integration-Tag-VendorTicket_Manual TriggerTags a case with the corresponding incident number
    MCB-Create-Integration-Close-VendorTicket_Manual TriggerCloses a case when the corresponding incident is closed

    Schedules to pause operations BMC Helix ITSM to Service Cloud

    MCB-Pause-Integration-Create-VendorTicket_Manual Trigger

    Pauses the creation of a Service Cloud case from a BMC Helix ITSM incident

    MCB-Pause-Integration-Create-VendorWorklog_Manual TriggerPauses the creation of a feed item or feed comment in a case when an activity note is added in the corresponding incident
    MCB-Pause-Integration-Tag-VendorTicket_Manual TriggerPauses tagging of a case with the corresponding incident number
    MCB-Pause-Integration-Close-VendorTicket_Manual TriggerPauses closing a case when the corresponding incident is closed

    Schedules to resume operations BMC Helix ITSM to Service Cloud

    MCB-Resume-Integration-Create-VendorTicket_Manual Trigger

    Resumes creating a Service Cloud case from a BMC Helix ITSM incident

    MCB-Resume-Integration-Create-VendorWorklog_Manual TriggerResumes creating a feed item or feed comment in a case when an activity note is added in the corresponding incident
    MCB-Resume-Integration-Tag-VendorTicket_Manual TriggerResumes tagging a case with the corresponding incident number
    MCB-Resume-Integration-Close-VendorTicket_Manual TriggerResumes closing a case when the corresponding incident is closed

    Schedules to purge operations BMC Helix ITSM to Service Cloud

    MCB-Purge-Integration-Create-VendorTicket_Manual Trigger

    Removes the existing webhook that creates a Service Cloud case from a BMC Helix ITSM incident

    MCB-Purge-Integration-Create-VendorWorklog_Manual TriggerRemoves the existing webhook that creates a feed item or feed comment in a case when an activity note is added in the corresponding incident
    MCB-Purge-Integration-Tag-VendorTicket_Manual TriggerRemoves the existing webhook that tags a case with the corresponding incident number
    MCB-Purge-Integration-Close-VendorTicket_Manual TriggerRemoves the existing webhook that closes a case when the corresponding incident is closed

    Schedules to create operations from Service Cloud to BMC Helix ITSM

    SFSC-Create-Integration-Apex-Class_Manual TriggerCreates communication layer for events that are triggered in Service Cloud
    SFSC-Create-Integration-Apex-Trigger-Case-Create_Manual Trigger

    Creates a BMC Helix ITSM incident when a case is created in Service Cloud

    SFSC-Create-Integration-Apex-Trigger-Case-Sync_Manual TriggerSynchronizes a case with the corresponding incident
    SFSC-Create-Integration-Apex-Trigger-Case-Update_Manual TriggerUpdates an incident when the corresponding case is updated
    SFSC-Create-Integration-Apex-Trigger-FeedComment-Sync_Manual TriggerCreates an activity note in an incident when a feed comment is added to the corresponding case
    SFSC-Create-Integration-Apex-Trigger-FeedItem-Sync_Manual TriggerCreates an activity note in an incident when a feed item is added to the corresponding case

    Schedules to pause operations from Service Cloud to BMC Helix ITSM

    SFSC-Pause-Integration-Apex-Class_Manual TriggerPauses the creation of the communication layer for events that are triggered in Service Cloud
    SFSC-Pause-Integration-Apex-Trigger-Case-Create_Manual Trigger

    Pauses the creation of a BMC Helix ITSM incident when a case is created in Service Cloud

    SFSC-Pause-Integration-Apex-Trigger-Case-Sync_Manual TriggerPauses the synchronization of a case with the corresponding incident
    SFSC-Pause-Integration-Apex-Trigger-Case-Update_Manual TriggerPauses the updation of an incident when the corresponding case is updated
    SFSC-Pause-Integration-Apex-Trigger-FeedComment-Sync_Manual TriggerPauses the synchronization of a feed comment in a case with an activity note in the corresponding incident
    SFSC-Pause-Integration-Apex-Trigger-FeedItem-Sync_Manual TriggerPauses the synchronization of a feed item in a case with an activity note in the corresponding incident

    Schedules to resume operations from Service Cloud to BMC Helix ITSM

    SFSC-Resume-Integration-Apex-Trigger-Case-Create_Manual Trigger

    Resumes the creation of a BMC Helix ITSM incident when a case is created in Service Cloud

    SFSC-Resume-Integration-Apex-Trigger-Case-Sync_Manual TriggerResumes the synchronization of a case with the corresponding incident
    SFSC-Resume-Integration-Apex-Trigger-Case-Update_Manual TriggerResumes the updation of an incident when the corresponding case is updated
    SFSC-Resume-Integration-Apex-Trigger-FeedComment-Sync_Manual TriggerResumes the synchronization of a feed comment in a case with an activity note in the corresponding incident
    SFSC-Resume-Integration-Apex-Trigger-FeedItem-Sync_Manual TriggerResumes the synchronization of a feed item in a case with an activity note in the corresponding incident

    Schedules to purge operations from Service Cloud to BMC Helix ITSM

    SFSC-Purge-Integration-Apex-Trigger-Case-Create_Manual Trigger

    Removes the webhook that creates a BMC Helix ITSM incident when a case is created in Service Cloud

    SFSC-Purge-Integration-Apex-Trigger-Case-Sync_Manual TriggerRemoves the webhook that synchronizes a case with the corresponding incident
    SFSC-Purge-Integration-Apex-Trigger-Case-Update_Manual TriggerRemoves the webhook that updates an incident when the corresponding case is updated
    SFSC-Purge-Integration-Apex-Trigger-FeedComment-Sync_Manual TriggerRemoves the webhook that synchronizes a feed comment with an activity note in the corresponding incident
    SFSC-Purge-Integration-Apex-Trigger-FeedItem-Sync_Manual TriggerRemoves the webhook that synchronizes a feed item with an activity note in the corresponding incident

After you enable the integration, when an incident is created in BMC Helix ITSM, a corresponding case is created in Service Cloud, and the converse is true. Any updates made to the BMC Helix ITSM change request are synced with the Service Cloud case, and the converse is true.

(Optional) Task 5: To map a custom field between BMC Helix ITSM and Service Cloud

You can map custom fields between BMC Helix ITSM and Service Cloud. To learn about the steps to map the custom fields, see Synchronizing custom field values for integrations.

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

Comments