LogFlowExecutionErrorEventHandler
LogFlowExecutionErrorEventHandler Class
Section titled “LogFlowExecutionErrorEventHandler Class”FlowExecutionErrorEvent messages are created and fired by the platform when Screen Flows have unhandled errors, and this creates logs for them
Group Plugins
Methods
Section titled “Methods”logErrors(flowErrorEvents)
Section titled “logErrors(flowErrorEvents)”INVOCABLEMETHOD
Invocable method called by platform event-triggered flow to add errors to logs
Signature
Section titled “Signature”public static void logErrors(List<Schema.FlowExecutionErrorEvent> flowErrorEvents)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| flowErrorEvents | List<Schema.FlowExecutionErrorEvent> | The List<Schema.FlowExecutionErrorEvent> associated with the unhandled exception(s) |
Return Type
Section titled “Return Type”void