How to identify if a record is created via a robust transform map

Roshini
Giga Guru

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.

5 REPLIES 5

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.