Skip to content

FLOW_LoggerStart.DTO_Request ​

Class

apex
global inherited sharing class FLOW_LoggerStart.DTO_Request

Input parameters for starting Flow correlation.


Fields ​

FieldDescription
global String additionalContextAdditional context to include with the log entry
global String flowNameName of the Flow for logging
global String recordIdOptional record ID for context

additionalContext ​

apex
@InvocableVariable(description='Additional context to include with the log entry' label='Additional Context') global String additionalContext

Type: String

Additional context to include with the log entry

Example

apex
String value = instance.additionalContext;

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

Example

apex
String value = instance.flowName;

recordId ​

apex
@InvocableVariable(description='Optional record ID for context' label='Record ID') global String recordId

Type: String

Optional record ID for context

Example

apex
String value = instance.recordId;