FLOW_LoggerEnd.DTO_Request
Class
apex
global inherited sharing class FLOW_LoggerEnd.DTO_RequestInput parameters for ending Flow correlation.
Since: 1.0
Fields
| Field | Description |
|---|---|
| global String correlationId | Correlation ID from Start Flow Correlation |
| global String errorMessage | Error message if Flow failed |
| global String flowName | Name of the Flow for logging |
| global Boolean success | Whether the Flow completed successfully |
Field Details
correlationId
apex
@InvocableVariable(required=true description='Correlation ID from Start Flow Correlation' label='Correlation ID') global String correlationIdType: String
Correlation ID from Start Flow Correlation
Since: 1.0
Example:
apex
String value = instance.correlationId;errorMessage
apex
@InvocableVariable(description='Error message if Flow failed' label='Error Message') global String errorMessageType: String
Error message if Flow failed
Since: 1.0
Example:
apex
String value = instance.errorMessage;flowName
apex
@InvocableVariable(required=true description='Name of the Flow for logging' label='Flow Name') global String flowNameType: String
Name of the Flow for logging
Since: 1.0
Example:
apex
String value = instance.flowName;success
apex
@InvocableVariable(description='Whether the Flow completed successfully' label='Success') global Boolean successType: Boolean
Whether the Flow completed successfully
Since: 1.0
Example:
apex
Boolean value = instance.success;