How to identify if a record is created via a robust transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 01:43 AM - edited 11-28-2023 04:46 AM
We have an airWatch ServiceNow integration with service graph connector plugin approach. It has a robust transform map and primary key for handheld devices are via IRE of cmdb. Can I know how we can find out if the data/record is created for the first time via this intgeration? Based on that, if it's created for the first time i need to make a field as personal. Can Someone help to achieve this.
- Labels:
-
Service Graph
-
Service Graph Connector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 09:43 AM
Check what you get with "target" in the onBefore script- does it have a sys_id defined when inserting vs. updating? If you only have a sys_id on update, then you could use that in the logic. Otherwise, you might have to use the sys_object_source table instead.