Outbound REST message issue

rishika95
Tera Contributor

Hi,

I have configured a REST message from Servicenow to Jenkins and when i test it, I receive a 200 status and a response but the job is not received on the Jenkins end. This doesn't happen all the time but occurs in 4/10 cases. The job is received on Jenkins and processed further 60% of the time. How do i check if it is an issue from Servicenow or Jenkins end? Any ideas or leads would be appreciated. Thanks.!

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, if you are receiving a 200 response, then the message must have been received by the target - unless your code is setting the response? As long as your integration is not incorrectly setting the response code (at SNC end), then you would need to review the target end to understand what was happening\why messages were not received\processed.

Thank you very much for the response. I can see that my code is not setting the status however i will check other scripts if that is playing a role here. 

Hope to resolve it soon.!