FLOW_LoggerEnd
Class · Group: Logging
apex
global inherited sharing class FLOW_LoggerEndEnds 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
| Method | Description |
|---|---|
| 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
| Parameter | Type | Description |
|---|---|---|
inputs | List | List of input parameters |
Example
apex
FLOW_LoggerEnd.execute(new List<DTO_Request>());Inner Classes
| Class | Description |
|---|---|
| DTO_Request | Input parameters for ending Flow correlation. |