insomniacc / PSSnow

A powershell module for interacting with the ServiceNow REST API
GNU General Public License v3.0
41 stars 9 forks source link

Batch Request Robustness #14

Open insomniacc opened 1 year ago

insomniacc commented 1 year ago

When a batch request reaches a size or processing limit, the system cancels the transaction and returns unprocessed requests in the unserviced JSON array in the response.

as per https://docs.servicenow.com/bundle/sandiego-application-development/page/integrate/inbound-rest/concept/batch-api.html

While currently this is not pressing, the user can adjust to what is necessary based on the batch size, it might be a good feature to check default limits and have adjustable limits (or maybe they should be pulled from the instance). Any returned/cancelled requests will need to be pushed back to be processed in another batch.