Share all details about your problem, including any error messages you may have received.
I am trying to do a query to search for Past Identity Events for Native Change. Is there anywhere we can query this in bulk etc or search from any objects? I can only find this individually at Past Identity Events in Identity Warehouse.
Nov 21, 2024, 1:53:55 PM Native Change Task:xyz Native [Create] detected. Summary of changes [“xxxx”", ""xxxxx Launched workflow ‘Native Change: xxxx’
When you enable the “Identity Event” option within the audit configuration, you can retrieve past identity-related events from the AuditEvent object.
Please refer to the code below to retrieve the Identity Past Event for the “NATIVE CHANGE DETECTION FEATURE”. You can customize the query according to your specific requirements.
List auditList = new ArrayList();
QueryOptions qp = new QueryOptions();
qp.addFilter(Filter.eq("string1","NATIVE CHANGE DETECTION FEATURE"));
Iterator it = context.search(AuditEvent.class,qp);
while(it.hasNext()){
AuditEvent audit = it.next();
auditList.add(audit);
}
return auditList;