Has anybody successfully used the ErrorLogCriteriaFilter object to check if a processInstance is in error without loading all errors.
Example Code:
int processInstanceID = 15;
//Get the "ALL" Errors Profile
ErrorProfiles errorProfiles = connection.GetErrorProfiles();
ErrorLogCriteriaFilter errorLogCriteriaFilter = new ErrorLogCriteriaFilter();
errorLogCriteriaFilter.AddRegularFilter(ErrorLogFields.ProcInstID, Comparison.Equals, processInstanceID);
ErrorLogs errorLogs = connection.GetErrorLogs(errorProfiles[0].ID, errorLogCriteriaFilter);
If I just call: ErrorLogs errorLogs = connection.GetErrorLogs(errorProfiles[0].ID) I get all errors, but once I add the filter, nothing...