- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2017 05:06 PM
Hi all,
I was wondering if it was safe to use the ECC queue for a custom integration?
Background is that we have an instance-to-instance integration, and web service calls are getting noticeably long. I'd like to queue outbound requests and process them in the background so it doesn't impede the user.
It looks like the ECC Queue table has the 'Agent' field, and setting it to something custom makes it never get processed, so it seems that it'd be safe to use.
Any thoughts or tips on custom use of the ECC queue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 03:52 PM
Hi David, indeed you can and it's safe to do so.
By definition that's the purpose of the ecc queue, which stands for "External Communications Channel".
Thanks,
Berny

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2017 07:28 PM
ECC queue can be used to integrate with other systems, it does not automatically capture all the web service communications.
You can talk to the ECC queue via web services and create your integration based on it. However, if you talk to a table in ServiceNow directly (or any scripted web service), you will not find it in the ECC queue.
Below is sample code
try {
var s = new sn_ws.SOAPMessageV2('ND_Create_Change', 'create_change');
//override authentication profile
//authentication type ='basic'
//r.setAuthentication(authentication type,profile name);
s.setStringParameter('short_description', 'Hello this is the first change Request');
var response = s.executeAsync();
var responseBody = response.getBody();
var status = response.getStatusCode();
}
catch(ex) {
var message = ex.getMessage();
}
You may find below links useful.
SOAPMessageV2 API - ServiceNow Wiki
Debugging web services in ServiceNow
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2017 08:53 PM
Hi Sachin,
All good there, I was more wondering if we could manually insert records into the ecc_queue table, and have a scheduled repeating script process our own items in the ECC queue.
Sort of like how the LDAP Test Probe does, it doesn't follow the 'mid.server....' naming convention and just uses its own.
Is it safe to use the ecc_queue for another, non-mid-server purpose?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 03:52 PM
Hi David, indeed you can and it's safe to do so.
By definition that's the purpose of the ecc queue, which stands for "External Communications Channel".
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 03:56 PM
The following threads should also be helpful:
Is there a way to query the ECC queue payload and get a value from it?
Send Command to MID Server ECC Queue and Capture Response (Blog)
Thanks,
Berny