Skip to content

FLOW_LoggerEnd.DTO_Request

Class

apex
global inherited sharing class FLOW_LoggerEnd.DTO_Request

Input parameters for ending Flow correlation.

Since: 1.0


Fields

FieldDescription
global String correlationIdCorrelation ID from Start Flow Correlation
global String errorMessageError message if Flow failed
global String flowNameName of the Flow for logging
global Boolean successWhether the Flow completed successfully

Field Details

correlationId

apex
@InvocableVariable(required=true description='Correlation ID from Start Flow Correlation' label='Correlation ID') global String correlationId

Type: 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 errorMessage

Type: 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 flowName

Type: 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 success

Type: Boolean

Whether the Flow completed successfully

Since: 1.0

Example:

apex
Boolean value = instance.success;