I am writing a solution for Dynamics CRM 2013 and as part of that, we need to track deletion of Opps/Leads/Contacts/etc. The path we have selected is to have our own "HistoryRecord" that simply tracks the Object Type and the ObjectGuid. Our external system can read this table, to keep track of records that have been deleted (as well as cleanup the history records)
The problem is that I need the Record ID of the object being deleted. So for Opportunity I have been using "{Opportunity(Opportunity)}" and assigning it into my "HistoryRecord.EntityId (String)" field. However, this always seems to generate "Opportunity" instead of the actual GUID.
Is there a way to get the ID of the Record being deleted from the FormAssistant ??
*This post is locked for comments