More Apex & Flow Metadata Data
Added several new fields to LogEntry__c
to track additional data about the metadata (Apex or Flow) that generated each log entry record (PR #181)
- Apex class fields: these fields are set by querying the ApexClass object, based on
ApexClass.Name == LogEntry__c.OriginLocation__c.substringBefore('.')
LogEntry__c.ApexClassApiVersion__c
LogEntry__c.ApexClassCreatedDate__c
LogEntry__c.ApexClassId__c
LogEntry__c.ApexClassLastModifiedDate__c
LogEntry__c.ApexClassName__c
LogEntry__c.ApexInnerClassName__c
LogEntry__c.ApexMethodName__c
- Flow definition fields: these fields are set by querying the FlowDefinitionView object, based on
FlowDefinitionView.ApiName == LogEntry__c.OriginLocation__c
LogEntry__c.FlowActiveVersionId__c
LogEntry__c.FlowDescription__c
LogEntry__c.FlowDurableId__c
LogEntry__c.FlowLabel__c
LogEntry__c.FlowLastModifiedByName__c
LogEntry__c.FlowLastModifiedDate__c
LogEntry__c.FlowProcessType__c
LogEntry__c.FlowTriggerType__c
- Flow version fields: these fields are set by querying the FlowVersionView object, based on
FlowVersionView.DurableId == LogEntry__c.FlowActiveVersionId__c
LogEntry__c.FlowVersionApiVersionRuntime__c
LogEntry__c.FlowVersionRunInMode__c
LogEntry__c.FlowVersionNumber__c