Retry http rest outbound call

obipenugonda
Mega Contributor

Hi mates,

Rest outbound integration message failing due to external server issue.

I want to resend the same data which was failed to send.

Try to suggest me to achieve this without custom table.

 

 

 

3 REPLIES 3

Community Alums
Not applicable

Hi @obipenugonda ,

 Follow these links :

Troubleshooting outbound REST web services 

 

It didnt help in resolve the issue.

I want to retry the http request when it fails.

I used business rule to trigger script include to call post method. Sometimes due to target server issue http request is failing, So i want to resend the data again.

If you trigger it via en event with a script action that calls your script include, you could, in case of an error, create another event to be executed in x-time

 

You can use the  gs.eventQueueScheduled to determine when to try again : https://developer.servicenow.com/dev.do#!/reference/api/tokyo/server_legacy/c_GlideSystemAPI#GS-even...).