We are looking to create a destruction certificate for a given record using a Workflow SDK Script activity, and as such would like to include information about the cutoff instruction and retention schedule at the time of disposition (since they may change over time).
The area that I'm struggling with is creating a list of the events that the cutoff instruction is based on. I am able to retrieve a list of the Event IDs using the line
int[] eventIds = this.BoundEntryInfo.GetParentFolder().GetRFProperties().GetCutoffCriterion().EventIds;
but am unable to find a method or function that will retrieve the event's name using the Event ID.
Is there a way to get the name of a cutoff event from the Event ID, or is there another method for retrieving this information?
Thank you.