FLOW_LoggerLog.DTO_Request
Class
apex
global inherited sharing class FLOW_LoggerLog.DTO_RequestInput parameters for logging a Flow event.
Since: 1.0
Fields
| Field | Description |
|---|---|
| global String additionalContext | Additional context to include with the log entry |
| global String correlationId | Correlation ID from Start Flow Correlation |
| global String flowStep | Current step/screen name for context |
| global String logLevel | DEBUG, INFO, WARN, or ERROR (default: INFO) |
| global String message | Log message |
Field Details
additionalContext
apex
@InvocableVariable(description='Additional context to include with the log entry' label='Additional Context') global String additionalContextType: String
Additional context to include with the log entry
Since: 1.0
Example:
apex
String value = instance.additionalContext;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;flowStep
apex
@InvocableVariable(description='Current step/screen name for context' label='Flow Step') global String flowStepType: String
Current step/screen name for context
Since: 1.0
Example:
apex
String value = instance.flowStep;logLevel
apex
@InvocableVariable(description='DEBUG, INFO, WARN, or ERROR (default: INFO)' label='Log Level') global String logLevelType: String
DEBUG, INFO, WARN, or ERROR (default: INFO)
Since: 1.0
Example:
apex
String value = instance.logLevel;message
apex
@InvocableVariable(required=true description='Log message' label='Message') global String messageType: String
Log message
Since: 1.0
Example:
apex
String value = instance.message;