midserver

Ketan Pandey
Tera Expert

I have an application called XYZ which is an external application,External application XYZ want to create message in ECC Queue table ,please suggest steps  

3 REPLIES 3

Community Alums
Not applicable

Hi @Ketan Pandey ,

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 can talk to the ECC queue via web services and create your integration based on it ,Could you please share an example

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ketan Pandey 

 

https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/mid-server/concept/...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************