I have a trigger (commited delete) whenever an instance in a delegated data table is deleted ,my trigger activity writes into history class of data class that an entry was deleted
This trigger activity works fine if instances are deleted manually using (delete icon) but when instances are deleted using import option as shown below ,in UI my records are deleted but my trigger activity doesnt run and I am not able to write into history class of data that an entry was deleted.
Can anyone share their opinion on this scenario ?
***Edited by Moderator: Pallavi to update platform capability tags***
This isn't something I've personally tried before, however tracing shows significant differences in how the two types of deletion are performed. You could try tracing the deletion via the import and see if there are any places you could hook in your history write (possibly another trigger for the Log-DataImport instance that gets created).
Someone else might have more thoughts on this too.
Hope this helps!
Posted: 4 years ago
Posted: 31 Jan 2019 2:35 EST
Bala Nagendra Babu Devaguptapu (BalaNagendra)