Configuring Proactive Service Resolution for incidents in ServiceNow ITSM
Before you begin
Make sure that the following conditions are met:
- Obtain the endpoint URL, user credentials, client ID, secret key, and information about the grant type for connecting with ServiceNow ITSM.
- Proactive Service Resolution with BMC Helix Integration Service is not enabled from BMC Helix Operations Management.
To configure Proactive Service Resolution for ServiceNow ITSM
Perform the following steps:
Step 1: To set up a connection
- On the BMC Helix Intelligent Automation console, click Solutions.
- Click Configure against the Proactive Service Resolution tile.
The configuration page is displayed. Use the Incident Noise Reduction toggle key to turn off the capability.
Click Set Up and select the
ServiceNow ITSM
option.
- Provide the following connection details based on your ServiceNow ITSM deployment:
(For cloud deployment)Type the following connection details:
Field
Description
ServiceNow Endpoint URL
The URL for the application.
For example, https://host.service-now.com.
Username
User name to log on to the application.
Password
Password that matches the user name.
Grant Type
ServiceNow ITSM API Grant Type.
Client Id
ServiceNow ITSM API Client ID.
Client Secret
ServiceNow ITSM API Client Secret.
- (For on-premises deployment) Click the download & install link to download the remote-restapi-plugin utility.
You must configure the on-premises connector to connect with the ServiceNow ITSM on-premises deployment.
For more information, see Configuring-the-ServiceNow-ITSM-on-premises-connector.
- Click Save.
The status is shown as Connected.
Step 2: To define a trigger condition
By default, the trigger condition is set to Severity = Critical. When a critical event is generated in BMC Helix Operations Management, an incident gets created in ServiceNow ITSM.
Step 3: To provide the event to incident field mapping
By default, BMC Helix Intelligent Automation provides mapping of event fields to incident fields. Based on these mappings, an incident gets created. You can specify custom values for the default fields, add more fields, or apply transformation based on your requirements. For more information about the out-of-the-box field mappings, see Field-mappings-for-incidents-in-ServiceNow-ITSM. The Create or Update Incident Ticket automation policy is created as part of this step.
Click Configure against the Configure mapping: Event → Incident field.
The default field mappings are displayed.(Optional) If you do not use BMC Helix Discovery, locate the CILookupCriteria field, expand it, and click X (delete) against the correlation_id property.
- (Optional) To add a new incident field, click Add Incident Field and perform the following steps:
The Add Incident Field panel displays the list of fields available in ServiceNow ITSM.- To use an existing field:
- Select any field from the list of all available fields and click Save.
- Click the field name and type the value.
- To add a custom field:
- Type the name of the field.
If you want this to be a required field, select Required.
- To use an existing field:
(Optional) To add a condition to a field, click +Add Condition, add the incident 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, navigate to a field and specify the conditions based on your requirement:
- (Optional) To add a date and time function, add a new field, 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.
The Policy published successfully message is displayed.
Step 4: To provide the incident fields to Information Event mapping
By default, BMC Helix Intelligent Automation maps incident fields to event fields. Based on these mappings, an information event is created in BMC Helix Operations Management. Every time the incident is updated, the information event is updated too. For more information about the out-of-the-box field mappings, see Field-mappings-for-incidents-in-ServiceNow-ITSM. As part of this step, the Create an Information Event automation policy is created.
- Click Configure against the Configure mapping: Incident → Information Event field.
The default field mappings are displayed.
- Make changes as required and click Save.
Click Enable.
TheProactive Service Resolution
is enabled successfully message is displayed.
Step 5: To create a business rule in ServiceNow ITSM
After configuring Proactive Service Resolution for ServiceNow ITSM, you must create a business rule to be able to create information events in BMC Helix Operations Management. The information events include information about the incident every time an incident is created or updated.
For more information about business rules, see the ServiceNow ITSM documentation.
Before you begin
You must obtain the API access key and tenant ID for your BMC Helix tenant before creating a business rule.
To create a business rule
- Log on to ServiceNow ITSM and navigate to .
- Click New.
- Type a name for the rule.
- Select the table depending on the type of incident that you want to create.
For a case, select Case. For an incident, select Incident. - Click Advanced and select the following options:
- In the When to run tab, select after to run this rule after any of the selected actions take place.
- From the list of actions, select Insert, Update, and Delete.
In the Advanced tab, copy and paste the following script.
When you copy the key details from BMC Helix Portal, you get the key details and the tenant ID.- In the script, make the following changes:
For the request.setEndpoint parameter, specify the REST API URL where your BMC Helix Intelligent Automation is available.
- For the tenantId parameter, specify the BMC Helix tenant ID.
- For the accessKey parameter, specify the access key (combination of access key and secret key) for your BMC Helix tenant.
For example, AU7RRPF1*****************I09TR3::urdx0zOVd7iqiQAhy4DyLryZt92o1i3iGU25fImmAeVS9YwZyA.
- Save changes to the business rule.
Based on the business rule, every time an incident is created, updated, or deleted in ServiceNow ITSM, an information event with the appropriate details is created in BMC Helix Operations Management.
Artifacts created for Proactive Service Resolution
After the solution is configured, the following artifacts are created across the BMC Helix environment:
Name | Type | Product |
---|---|---|
ServiceNow 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 | Event policy | BMC Helix Operations Management |
Incident and event updates and closure
When an event is updated, the incident is also updated. When an event is closed, the incident is automatically resolved. If the incident is closed, the corresponding information event is closed, however, the event is not closed. Based on the event policy, the event gets closed after the problem is resolved in the infrastructure. For more information about how events are closed, see Monitoring and managing events.
To view Proactive Service Resolution
- On the Solutions page, click View.
You can view the connection details, such as the IT service management system's name, endpoint URL, and the user name used for the connection. You can also view the trigger condition and the configured mappings. - Click Go back to return to the Solutions page.
To disable Proactive Service Resolution
If there is downtime for any of the integrated products, or if you need to edit the configurations, you can disable the solution. This ensures that the artifacts and the customizations are not deleted when you enable the solution again.
- Click Solutions > Proactive Service Resolution.
- Use the toggle key to disable or enable the solution.
The Proactive Service Resolution disabled successfully message is displayed.
To modify Proactive Service Resolution
- Click Solutions > Proactive Service Resolution and use the toggle key to disable the solution.
You can only view the connection details, such as the selected ITSM system, endpoint URL, and the user name (only for cloud deployements) used for connecting with the system. - Click Modify and make changes based on your requirements.
- Click Save.
- Click Enable.
To delete Proactive Service Resolution
Click Solutions >
Proactive Service Resolution
and use the toggle key to disable the solution.
- Click Delete.
On the warning message that is displayed, click Yes.
The Solution deleted successfully message is displayed.
When you delete the solution, all artifacts and any custom field mappings are deleted. If you configure the solution again, you must provide the custom values for field mappings again.
Where to go from here
View the status of the automation policies run by ServiceNow ITSM for creating incidents. For more information, see Viewing-automation-policy-runs-history.