Hi,
I am unable to retrieve the history from DOM even though data exists in DOM.
var eventFilter = HistoryChangeExposers.SubjectID.Equal(Guid.Parse("9010bced-04fa-43a8-a511-bbe156f9613b").ToString());
// Get all events
var events = eventHelper.DomInstanceHistory.Read(eventFilter);
engine.GenerateInformation(events.Count().ToString());
Hi Apurva,
It seems that the filter string is not entirely correct. As you can see in the SLNet Client Test tool, the subject ID (displayed as 'DomInstance ID') is actually prefixed with 'DomInstanceId'. You could either encapsulate the Guid like shown there, or you could use the 'ToFileFriendlyString' method on the 'DomInstanceId' class.
var instanceId = new DomInstanceId(Guid.Parse("9010bced-04fa-43a8-a511-bbe156f9613b"));
var eventFilter = HistoryChangeExposers.SubjectID.Equal(instanceId.ToFileFriendlyString());