Need help to standardize a BEFORE Insert BR which is running in Incident table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 02:49 PM - edited 06-10-2024 02:53 PM
Good Day!
As part of Moogsoft integration, we are using one BEFORE Insert BR to avoid duplicate incidents. Need your help to standardize that BR as suggested by ServiceNow.
Here is the details
when to run : Before Insert
order : 100,001
Advanced:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2024 03:58 PM
It looks like you are directly trying to write to the incident table from the integration.
Instead, you could have used import Api to put the values to a import table and then mapping the fields with x_kpmg3_pit_inc_em_uniquekey as coalesce.
But if thats not an option, what you have looks fine to me, with till abort action of insertion of an incident, if there is a matching incident.
Please mark this response as correct or helpful if it assisted you with your question.