asked on July 27, 2017
•
Show version history
We have a use case where we will need to set the event dates of a record folder using a Workflow SDK Script activity. We have are at a stage where we have the required dates and event IDs stored in a C# Dictionary entry, but are having trouble setting and saving the event dates. This is the code section that we are currently working with:
foreach (KeyValuePair<int, DateTime> eventDate in AssignedEvents) { ei.GetParentFolder().GetRFProperties().SetEventDate(eventDate.Key, eventDate.Value); } ei.GetParentFolder().GetRFProperties().Save()
where:
EntryInfo ei = this.BoundEntryInfo;
and:
Dictionary<int, DateTime> AssignedEvents = new Dictionary<int, DateTime>();
Are we missing any required lock/unlock statements, or possibly misusing the SetEventDate() method? Any help is appreciated.
0
0