-
-
Notifications
You must be signed in to change notification settings - Fork 233
FlowLogEntry throws exception for empty recordId #826
Copy link
Copy link
Open
Labels
Layer: Logger EngineItems related to the core logging engineItems related to the core logging engineLogging Source: FlowItems related to using Nebula Logger within FlowItems related to using Nebula Logger within FlowSalesforce limitation
Milestone
Metadata
Metadata
Assignees
Labels
Layer: Logger EngineItems related to the core logging engineItems related to the core logging engineLogging Source: FlowItems related to using Nebula Logger within FlowItems related to using Nebula Logger within FlowSalesforce limitation
Package Edition of Nebula Logger
Unlocked Package
Package Version of Nebula Logger
v4.15.3
New Bug Summary
I'm using a subflow as a fault path for elements, one of the subflow's variables is recordId which is set as input. In subflow, I have Flow Log Entry action and I've set recordId to be assigned from my input variable to action.
When recordId is null/empty my flow catches exception:
I could make a workaround for this by checking if recordId is provided and only then use it in the action, but this makes it more complicated. Would it be possible to make Apex Action to ignore null/empty recordId?