Outbound Rest API with a BR creating 2 Incidents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2024 02:38 AM
Hi,
I am trying create an Outbound Rest API connect between 2 ServiceNow instances. I set the BR to have dynamic field values to push to destination instance
HTTP Request:
{
"caller_id":"${caller}",
"priority":"${priority}",
"category":"${category}",
"short_description":"${shortdesc}"
}
However when I created an Incident in source instance 2 incidents get created in destination instance and also in system logs only one incident value gets updated. Can anyone please help on this?
Before Insert BR:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 08:43 AM
I am facing the same issue. Have you received any resolutions yet?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 09:15 AM
@Ankita Dutta On the target instance, try creating an onBefore insert business rule which checks if an incident with same details (caller, short description, description etc.) was created in last one minute if the condition evaluates to true then use current.setAbortAction(true); in the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 09:05 AM
Yes, As you can see in the attached code in my earlier post I had "request.execute();" which was causing another incident creation. I removed this line from the code and it works fine now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2024 09:11 AM
Worked for me.
Thanks a ton!!! 🙂