About this document
Best Practices for RESTMessageV2 & SOAPMessageV2 by Ⱥkshat Rastogi is a document available to read on EtoBox.
This document provides best practices for using RESTMessageV2 and SOAPMessageV2 in ServiceNow scripts. It recommends using executeAsync() instead of execute() to make asynchronous API calls to avoid blocking script execution. When a response is needed, it describes setting up a sensor business rule to listen on the message queue and handle the response. The document includes examples of converting a synchronous script to use asynchronous calls and processing responses with a business rule.
- Author
- Ⱥkshat Rastogi
- Language
- EN