cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Assignment of Assignment Group in Service Now Incident via SAP Cloud ALM

SAPSupport
Employee
Employee
0 Kudos

Hi,

We have set up SAP Cloud ALM External API Management using one of the "built-in" mappings for ServiceNow Incident creation. ServiceNow Incidents are being successfully created from SAP Cloud ALM for alerts.
But the Incidents created from SAP Cloud ALM do not have an "assignment group" value for the ServiceNow teams that should process the Incident. Help us to assign the "assignment group" using the API which is used for this configuration.

Thanks,


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

The "built-in" mappings are provided as a starting point for Customers to get integration between SAP Cloud ALM and their external ticketing/messaging systems up and running.
It provides the bare minimum mapping required to achieve its described purpose. 
In this scenario, it contains just the mandatory information required by the default ServiceNow Incident for Incident creation. 

You should create a copy of the "built-in" mapping you are using for ServiceNow in the External API Management app, and configure your subscription to use your copy instead of the "built-in" option.
The copied mapping should be edited to meet your business use case and needs. 

The ServiceNow API for Incident creation uses the Table API.
The guide includes information about sending "assignment_group" parameter data with your request. 
Use that guide (remembering to select your specific ServiceNow version) to familiarize yourself with the attributes and values the ServiceNow API accepts for Incident creation.

The SAP Cloud ALM APIs Mapping guide outlines the use of the "choices" rules which can be specified in a mapping. 
The "choices" rules function similar to a switch/case statement in programming languages.
An event attribute from the SAP Cloud ALM event can be specified as the "source" and its value as the "when" detail.
The "destination" attribute of the "choices" rule is used to specify the target attribute in the target API (in this case, "assignment_group"), and "then" specifies the value that should be assigned when the condition is met.

You need to use the information from both guides to configure your copied mapping beyond what is provided "built-in".

Answers (0)