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.
Since: 1.0
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. |
Inner Classes
| Class | Description |
|---|---|
| DTO_Request | Input parameters for ending Flow correlation. |
Method Details
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:
inputs(List) - List of input parameters
Since: 1.0
Example:
apex
FLOW_LoggerEnd.execute(new List<DTO_Request>());