ServiceNow Integrations: Six Steps for Developers to Avoid Duplication with Third Party Rest-API

BillMartin
Mega Sage

 

I am reposting these six-step solutions to guide developers and implementors alike to avoid and remove duplication from Third Party Rest-API.

 

I see a common mistake that lacks verification on multiple layers during the implementation of integrations.

 

The Now platform already provides all the necessary tools to preserve data integrity, it is just a matter of using it.

 

However, it comes with experience and great skill to initiate a well-designed implementation.

 

Let us dive in!

 

1. Build an integration with REST-API using Outbound REST Integration. Learn more about How to Integrate with ServiceNow Using REST-API.

 

Here is How: How to Integrate with ServiceNow Using REST-API

 

2. Create Script Includes to globally invoke the REST-API object. Check out ServiceNow Scripting: When to Use Script Includes.

 

Here is How: ServiceNow Scripting: When to Use Script Includes

 

3. Create a function using Script Includes using the table object (GlideRecord) if a record already exists.

 

4. Develop a function using Script Includes using the table object (GlideRecord) to create a record if it does not exist.

 

5. Ensure Data Policy is in place before implementing steps 1 to 4. Discover more about ServiceNow Best Practices: How to Verify Server Data Using ServiceNow Data Policy.

 

Here is How: ServiceNow Best Practices: How to Verify Server Data Using ServiceNow Data Policy

 

6. Lastly, create a call from a scheduled job depending on the real-time data needs of the business. Learn about ServiceNow Scheduled Jobs.

 

Here is How: ServiceNow Scheduled Jobs

 

These steps will escort you to achieve your functional objectives. Note that good coding practice, unit testing, and deployment are not covered here. Assuming that these parameters are already implemented. (I will discuss this in a separate post)

1 ACCEPTED SOLUTION

BillMartin
Mega Sage

thank you for appreciating my work!

View solution in original post

2 REPLIES 2

SK Chand Basha
Giga Sage

Very Insightful

BillMartin
Mega Sage

thank you for appreciating my work!