We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to Retrieve Requests from Business Rules Called from the Batch API

fj0886bi
Tera Contributor

I am thinking of acquiring the request information of the calling API in the business rule and dividing the processing conditions according to the request content, but I am in trouble because I cannot get the request.
How do I get the request information?

1 REPLY 1

fj0886bi
Tera Contributor

Postscript
Running the following from within a business rule using gs.action failed to retrieve anything except the URI.

fj0886bi_0-1721983197808.png


I want to get the body information of the request posted from batchAPI.
https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/rest/batch-api