Integrate ServiceNow with any third-party application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 02:04 AM
Hello,
Build an integration with any third-party application and based on the incident state changes trigger that integration and fetch the status and response body and populate in incident form.
Let met me know step by step process to meet this requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2025 11:10 PM
I would like to integrate ServiceNow with salesforce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2025 11:11 PM
I would recommend to take the integration hub approach.
1. Create Connections and Credential Alias
2. Create a Spoke
3. Create a custom REST Action.
4. Create the flow.
Please mark as helpful if this works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2025 11:32 PM
Here's a short step-by-step guide to build the integration in ServiceNow:
Create a REST Message
Go to System Web Services > Outbound > REST Message.Define the endpoint, HTTP methods, and authentication for the third-party app.Create Scripted REST API (if needed)
If the third-party app also needs to call ServiceNow, create an inbound REST API under System Web Services > Scripted REST APIs.Use Business Rule for Triggering
Create a Business Rule on the Incident table with a condition for specific state changes.In the script, call the REST Message using RESTMessageV2().Parse Response
Parse the response using response.getBody() and JSON.parse().Update Incident Form
Populate custom fields on the Incident form with the response data using current.<field_name> = value;.Test the Integration
Change incident state and verify the integration is triggered, and response fields are populated.