Integration with ADP - Automatic Data Processing, Inc.

doormold
Tera Contributor

We are looking at Service-Now as a ITSM tool. Does anyone currently have Service-Now integrated with ADP (Automatic Data Processing, Inc.)? What was your experience? Pros/cons?

29 REPLIES 29

Hi,

 

My company is getting ADP and we wanted to basically have an onboard form through them, but get some of the basic information (name, job title, etc. ) pulled to SN (in to our own form with other fields that ADP just wouldn't be able to do for us). We just got off the phone with them and they need to reach out for more information, but could you give me a basic run-down of how we would go about this?

 

So what would the basic pull or get from ADP look like for a basic field like first and last name and then how we could integrate that in to a form that we have within SN.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

We are currently trying to integrate SN with ADP and are having trouble Authenticating and getting a token back from ADP in SN, We can obtain a token with no issue using Postman. Any advice?

This is what I was using to get the token.

 

    getAdpToken: function () {
        "use strict";
        var self = this;
        try {
            var adpTokenMessage = new sn_ws.RESTMessageV2(self.adpGrantTokenRest, 'post');
            var adpTokenMessageResponse = adpTokenMessage.execute();
            var adpTokenMessageResponseBody = adpTokenMessageResponse.getBody();
            var adpTokenMessageHttpStatus = adpTokenMessageResponse.getStatusCode();
            self.adpToken = JSON.parse(adpTokenMessageResponseBody);
            self.bearerToken = self.adpToken.token_type + ' ' + self.adpToken.access_token;
            gs.log('Obtained bearerToken '+ self.bearerToken, 'ADPInterfaceHelper');
        } catch (ex) {
            gs.error('ADPInterfaceHelper {0}', ex);
        }
    },

Thanks! I'm new to Service now, is this a custom script that you wrote?  Where would I put this? Just curious of the process here. Any help is greatly appreciated

You will need a couple of outbound rest messages for the rest endpoints you are going to use.

The ADPInterfaceHelper is a script include. see attached.

I then had a schedule job to ping ADP on an hourly basis to get any information from ADP.

V/r,

Gene