Creating multiple events in ITOM with a single API POST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 12:49 PM
and creates each item in turn.
What I am hoping to find though is an alternative where I can make one call to the API rather than many. Batch/bulk the events rather than the brute force 1 event = 1 api call method I have today, that I don't think will scale well if we find ourselves in a high traffic scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 08:59 AM
Hello,
This is absolutely possible: you will have to create your own custom push connector.
Basically a connector will parse a payload and create 1 or many records in em_event based on content parsed.
I suggest you have a look at existing connectors: check how they work, you can probably reuse some code.
You can script any behavior to handle any payload you want.
Once your push connector is defined, you will need to create one instance for it, just as you do for OOB connectors.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 08:04 AM
Hi WillHerr
ServiceNow gives an example on how this can be achieved on this document page:
Pushing events to the instance using web service API
Ignore the first mentions of "insert multiple" and look for this text:
To create multiple records with a single call, trigger the event web service using the following URL,