@fpc-kdrosario
I really like the concepts explained in the video by Paul O'Flaherty
https://www.youtube.com/watch?v=ZAzZCh6hfbw
Working with SharePoint, he uses the fact that NEW records saved to a local collection won't have an ID as yet. Then it's a simple case of using the LoadData function to re-build the collection and filter this collection by IsBlank(ID) and check if the collection has any records. This could be done using CountRows, like this (pseudo code):
If CountRows(loadedDataCollection) > 0 then Notify( ... )
Paul uses a similar approach for MODIFIED records in that instead of the ID column he adjusts the 'Modified' column to a Date far in the future eg 31/12/3000. Then you would filter the above collection where Modified = '31/12/2099'.
He also use 'Modified' = '31/12/3001' for DELETED items.
Some really good offline tips and tricks in the above video.