External systems submitting a case request
Summarize
Summary of External systems submitting a case request
This content explains how ServiceNow Financial Services Operations (FSO) allows external systems to create customer case records by submitting case requests via REST API calls. Common external systems include online/mobile banking apps, core banking systems, or other CRM tools. The integration uses ServiceNow’s Table API to post case data directly into the Loan Service Case [snbomloanservice] table.
Show less
Key Features
- Supports REST API POST calls from any external system capable of making such requests.
- Essential fields sent from the external system include consumer, financial account, category, short description, and notes.
- The loan case record is created in the Loan Service Case [snbomloanservice] table.
- Example JavaScript code demonstrates how to construct and send the REST POST request to the ServiceNow instance.
- The API call requires specifying the target table and passing a JSON payload with key record fields, excluding system-generated read-only fields (those starting with 'sys').
Practical Implementation
To implement this, configure your external system to:
- Gather necessary loan case information, including consumer ID, loan account ID, assignment group, contact type, product, service definition, and a short description.
- Make a POST request to the ServiceNow Table API endpoint
/api/now/table/{tablename}, replacing{tablename}withsnbomloanservice. - Send a correctly formatted JSON request body containing the relevant field values.
Upon successful submission, ServiceNow responds with the result of the POST request, confirming case creation.
Benefits for ServiceNow Customers
- Enables seamless integration of external financial and customer systems with ServiceNow FSO for case management.
- Automates case creation workflows, reducing manual data entry and improving data accuracy.
- Supports a consistent, standardized approach for capturing loan service cases, facilitating better tracking and resolution.
This use case illustrates how the ServiceNow Financial Services Operations (FSO) product can receive case requests from an external system, such as online or mobile banking application, core banking systems, or other CRM tools.
Any system that can handle making REST API calls can implement this scenario to create customer cases in FSO. In this scenario, the fields consumer, financial account, category, short description, and notes are sent from the external system.
The table that is accessed in this scenario is the Loan Service Case [sn_bom_loan_service].
The following diagram shows the flow of the REST API calls for this scenario and provides brief remarks on the processing.
|
Example code
// Construct the REST call to POST the creation of the loan service case on the ServiceNow instance
//
function createRecord(tableName, requestBody) {
var client = new XMLHttpRequest();
client.open('post', 'http://<instance.servicenow.com>/api/now/tableName);
client.setRequestHeader('Accept', 'application/json');
client.setRequestHeader('Content-Type', 'application/json');
client.onreadystatechange = function() {
if (this.readyState == this.DONE) {
console.log(this.status + this.response);
}
};
client.send(JSON.stringify(requestBody)); // Send the POST request to the ServiceNow instance
}
// Create the requestBody object to send to the Table API to create the loan service case.
// This is the typical minimum data that should be passed. You can write to any of the record fields except those
// starting with 'sys_' - these are system generated read-only fields.
var tableName = ‘sn_bom_loan_service’;
var requestBody = {
'consumer': '8938984kljhkhg34j5689903498u5', // Sys_id of the associated consumer
'sold_product': '9590349760hkjhi3450983405033', // Sys_id of the customer loan account.
'assignment_group': '5469813sae32135s5d55d5d6s6sdd', // Sys_id of the group to assign the case to
'contact_type': 'web', // Communication method used by customer to contact agent
'product': '54666s6s46s6d6e4116b1f3rgt', // Sys_id of the product model of the asset associated to the case.
'service_definition': '989300jfkh8403jf87uj3h9-03i984n4', // Sys_id of the definition of service associated with this account.
'short_description': 'Request for loan forgiveness' // Short description for the loan case
};
createRecord(tableName, requestBody);