Skip to content

FLOW_LoggerStart.DTO_Request

Class

apex
global inherited sharing class FLOW_LoggerStart.DTO_Request

Input parameters for starting Flow correlation.

Since: 1.0


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

Field Details

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

Since: 1.0

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

Since: 1.0

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

Since: 1.0

Example:

apex
String value = instance.recordId;