Skip to content

FLOW_LoggerEnd

Class · Group: Logging

apex
global inherited sharing class FLOW_LoggerEnd

Ends a logging correlation for a Flow. Use this at the end of a Flow to log completion status.

Example

In Flow Builder: Add "End Flow Correlation" action at the end of your Flow Pass the Correlation ID from "Start Flow Correlation" Set Flow Name and Success status Optionally set Error Message if the Flow failed


Methods

MethodDescription
global static void execute(List<FLOW_LoggerEnd.DTO_Request> inputs)Ends a correlation context for Flow logging.

execute

apex
@InvocableMethod(category='Logging' description='Ends logging correlation for a Flow and logs completion status.' label='End Flow Correlation') global static void execute(List<FLOW_LoggerEnd.DTO_Request> inputs)

Ends a correlation context for Flow logging.

Parameters

ParameterTypeDescription
inputsListList of input parameters

Example

apex
FLOW_LoggerEnd.execute(new List<DTO_Request>());

Inner Classes

ClassDescription
DTO_RequestInput parameters for ending Flow correlation.