If there were a mechanism for catching a “NewEvidenceLock” event it would probably be through the MessageCommunicationManager / RegisterCommunicationFilter and the event would be named something related to “MarkedData” which encompasses both bookmarks and evidence locks, but I don’t think there is any event generated when evidence locks are created/updated/deleted. I monitored for configuration changes and new event indications and didn’t see anything come up when adding/changing/deleting evidence locks. The only thing I got were the audit logs showing that those actions were taken by my user.
I’ll pass a suggestion on to the SDK team to consider generating events for these in the future - meanwhile you may need to rely on polling and using a filter to look for evidence locks created since the last time you checked. Not ideal, but at least with the filter, the responses should be relatively fast/small?
