Configuring Proactive Service Resolution for incidents
Currently, BMC Helix Intelligent Automation supports the following levels:
PSR Level | Description |
---|---|
Level 1 (L1): Event-based service resolution | For a critical event, an incident is created in the configured ITSM system. |
Level 2 (L2): Infrastructure-based service resolution | For a critical event, an incident is created along with the associated configuration items (CI). If CI details are unavailable in the event, or not specified in the solution, an incident is created without associating any CIs. |
Level 3 (L3): Infrastructure-based service resolution | For a critical event, an incident is created along with the associated configuration items (CI) and the impacted service details. If CI and impacted services are unavailable in the event, or not specified in the solution, an incident is created without associating any CIs or impacted services information. Currently, only a single incident for an event is created in BMC Helix ITSM that contains information about all affected CIs or impacted services. Note that Level 3 is only supported if your ITSM system is BMC Helix ITSM. |
Before you begin
Before configuring the solution, ensure that the following conditions are met:
Product/area | Actions required |
---|---|
BMC Helix ITSM |
|
ServiceNow Incident Management |
|
BMC Helix Operations Management | Proactive Service Resolution with BMC Helix Integration Service is NOT enabled from BMC Helix Operations Management. |
BMC Helix Intelligent Automation | You have the required BMC Helix Intelligent Automation permissions to configure the solution. |
To configure Proactive Service Resolution
To configure the solution, you must set up a connection to ITSM, map event fields to incident fields, and map incident fields to the information event fields. This automatically creates artifacts such as the event policy, automation policies to create incidents, and an information event.
The following graphic illustrates the steps involved in configuring Proactive Service Resolution.
Step 1: To set up a connection with the IT Service Management System
- Click Solutions > Proactive Service Resolution and click Configure.
- Click Set Up.
By default, BMC Helix ITSM is selected.For BMC Helix ITSM, enter the following details:
Field
Description
BMC Helix ITSM Endpoint URL
The REST API URL for BMC Helix ITSM.
For example, https://helixtrial-restapi.onbmc.com.
Username
Username to log on to the application.
Password
Password that matches the username.
- (Optional) If you want to connect to an on-premises deployment of BMC Helix ITSM, download and install the connector before performing the next steps.
For more information, see Configuring-BMC-Helix-ITSM-connector-for-Proactive-Service-Resolution. If using ServiceNow Incident Management, select the option and enter the following details:
Field
Description
ServiceNow Endpoint URL
The URL for the application.
For example, https://host.service-now.com.
Username
Username to log on to the application.
Password
Password that matches the username.
Grant Type
Specify the ServiceNow API Grant Type.
Client Id
Specify the ServiceNow API Client ID.
Client Secret
Specify the ServiceNow API Client Secret.
- (Optional) If you want to connect to an on-premises deployment of ServiceNow Incident Management, download and install the connector before performing the next steps.
For more information, see Configuring-ServiceNow-Incident-Management-connector-for-Proactive-Service-Resolution.
- Click Save.
Step 2: To define a trigger condition
By default, the trigger condition is set to Severity = Critical, which indicates that BMC Helix Intelligent Automation creates an incident when the event severity is critical. If there are more than two conditions, click Click here to view additional details to view them.
Step 3: To provide the event to incident fields mapping
By default, BMC Helix Intelligent Automation provides mapping of event fields to the incident fields. Based on these mappings, an incident gets created. You can choose to specify custom values for the default fields, add more fields, or apply transformation based on your requirements.
As part of this step, the Create or Update Incident Ticket automation policy is created.
- To view the default mappings, click Configure against the Configure mapping : Event → Incident field.
- (Optional) Click Add Incident Field to add more fields to be updated while creating a trouble ticket.
The field names in the list appear based on the fields supported by BMC Helix ITSM.
When you add a field, you must map it to a field in the incoming event, or add value based on the selected field.
For example, if you add the StatusReason, you can add any reason in the event field.(Optional) If your organization uses Reconciliation ID and Reconciliation Service ID in the event, in the CMDBLookupKey field, enter the ReconciliationIndentity and ReconciliationIndentity_NodeCI.
- In the ADDMIntegrationId field, click +Add Condition and add the following condition:
- In Condition field, enter $.event.status=CLOSED.
In the Map with field, leave the value field blank.
(Optional) To add a condition to a field, click +Add Condition and add the ticket field and map it to the event field.
- (Optional) Against any field, click Transform fields and select the transformation type:
- Source value to target value: Enables you to map the event source fields to the target incident fields.
- String: Enables you to concatenate or extract a part of a string.
(Optional) To add multiple functions to process the strings for a field, go to a field and specify the conditions based on your requirement:
For example, in the following MP4, you can add another function to process the value available in the Summary field in the event:- (Optional) To add date and time function, add a new field and click Configure Text and perform the following steps:
- Click Add.
- Select the transformation type as Date & Time.
- To transform the date, select the getDate function.
The time zone format is generated based on your system settings. - Select an output format:
- ISO
- yyyy-dd-MM hh:mm:ss
- ddMMyyyy
- MMddyyyy
- To transform time, select the getTime function and select the output format as hhmm.
- Save changes.
- Click Save.
A Policy published successfully message appears.
Step 4: To provide the incident fields to Information Event mapping
By default, BMC Helix Intelligent Automation maps trouble ticket fields to Information Event fields. Based on these mappings, an information event is created in BMC Helix Operations Management. Every time the ticket is updated, the information event is updated too.
As part of this step, the Create an Information Event automation policy is created.
- To view the default mapping, click Configure against the Configure mapping : Incident → Information Event field.
- If required, make changes, and click Save.
- Click Enable to enable the solution.
The Proactive Service Resolution enabled successfully message appears. If you skip any of the steps, the status on the Solutions page shows the pending step. To make any changes to the field mappings after the solution is enabled, disable the solution first and then continue with the updates.
Artifacts created after configuring Proactive Service Resolution
Consult the following table to learn more about the artifacts created after configuring the solution:
Artifact name | Type | Available in product |
---|---|---|
BMC Helix ITSM connector | Connector | BMC Helix Intelligent Automation |
Create or Update Incident Ticket | Automation Policy | BMC Helix Intelligent Automation |
Create an Information Event | Automation Policy | BMC Helix Intelligent Automation |
Predefined Policy for Incident For more information, see Out-of-the-box event policies and templates | Event policy | BMC Helix Operations Management |
Proactive Service Resolution
If there is a downtime for any of the integrated products, you can disable the solution temporarily. This ensures that the artifacts and the customizations are not deleted when you enable the solution again. You must also disable the solution before you make any changes to the field mappings.
- Click Solutions > Proactive Service Resolution.
Use the toggle key to disable the solution.
The message Proactive Service Resolution disabled successfully appears. Use the toggle key to enable the solution as required.
After the solution is enabled again, if there are any events for which you need to create an incident, you can manually create them by using the Create Incident option in BMC Helix Operations Management or BMC Helix AIOps. For more information, see Performing event operations.
To modify Proactive Service Resolution
To modify the solution, you first disable it.
- Click Solutions > Proactive Service Resolution and use the toggle key to disable the solution.
- Click Modify.
You cannot update the connection details to the Trouble Ticket Management System. You can only update the field mappings. - Click Enable.
To delete Proactive Service Resolution
To delete the solution, you must perform the following steps:
- Disable the solution in BMC Helix Intelligent Automation:
- Click Solutions > Proactive Service Resolution and use the toggle key disable the solution.
- Click Delete.
On the warning message that appears, click Yes.
(For on-premises
BMC Helix ITSM
connector only) Delete the webhooks created in BMC Remedy AR System:
- Log on to BMC Remedy AR System as an AR administrator and go to the AR System Webhook form:
https://<midtier>/arsys/forms/onbmc-s/AR+System+Webhook - Search for the webhook by using the following criteria and then delete the webhook:
- Form Name : HPD:IncidentOutboundEvent
- Tenant ID : <tenantid>
- Callback URL: https://<ingress_hostname>/intelligent-automation/restplugin/api/v1/tmf/callback?helix_itsm=true
- Log on to BMC Remedy AR System as an AR administrator and go to the AR System Webhook form:
When you delete the solution, the Create or Update Incident Ticket and Create an Information Event automation policies, the BMC Helix ITSM connector, and any custom mappings get deleted. If you configure the solution again, you have to provide the custom values for field mappings again.
Where to go from here
- If using Proactive Service Resolution for ServiceNow Incident Management, you need to create a business rule in ServiceNow Incident Management to be able to create information events in BMC Helix Operations Management, which includes the ticket details.
For more information, see Creating-a-business-rule-in-ServiceNow-for-creating-information-events-for-incidents. - You can directly view the status of the policies run by BMC Helix Intelligent Automation for creating incidents. For more information, see Viewing-automation-policy-runs-history.