Skip to content

Query FlowDefinitionView to store additional Flow details on LogEntry__c #129

Description

@jongpie

Within LogEntryEventHandler, when creating the LogEntry__c records, it should query FlowDefinitionView for additional details for any Flow entries.

  • For any LogEntry__c records being created where OriginType__c == 'Flow', then query FlowDefinitionView based on FlowDefinitionView.ApiName == logEntry.OriginLocation__c
  • The code should assume that logEntry.OriginLocation__c may not always have an accurate API name - i.e., some orgs might populate the Flow label (instead of API name), or the string in the Flow might be out of sync with the actual API name. In these situations, the code should still save the log entries & just leave any new Flow-related fields null.

Some of the fields to possibly store from FlowDefinitionView are: ApiName, DurableId, ActiveVersionId, Description, Label, LatestVersionId, NamespacePrefix, ProcessType

Metadata

Metadata

Assignees

No one assigned

    Labels

    Layer: Log ManagementItems related to the custom objects & Logger Console appLogging Source: FlowItems related to using Nebula Logger within FlowSalesforce Feature: ReportingAnything related to reports, dashboards, and the underlying data modelType: EnhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions