The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
Handles adding new log entries in Flow for a particular SObject record
faultMessage → StringOptionally log a Flow fault error message
flowName → StringThe API name of the Flow creating the log entry. Due to Salesforce limitations, this cannot be automatically determined
loggingLevelName → StringOptionally specify a logging level - the default is 'DEBUG'
message → StringThe message to log
record → SObjectThe record to relate to this log entry - the record's JSON is automatically added to the log entry
saveLog → BooleanOptionally choose to save any pending log entries
saveMethodName → StringOptionally choose the save method to use when 'Save Log' is true
scenario → StringOptionally specify the name to use for the current transaction's scenario
shouldThrowFaultMessageException → BooleanOptionally rollback Database operations executed until Apex action was called and save the log entry.
tagsString → StringOptionally provide a comma-separated String of tags to dynamically assign to the log entry
timestamp → DateTimetopics → List<String>Optionally provide a comma-separated String of tags to dynamically assign to the log entry
addFlowRecordEntries(List<FlowRecordLogEntry> flowRecordLogEntries) → List<String>Invocable method for adding record entries via flow or process builder
| Param | Description |
|---|---|
flowRecordLogEntries |
The list of FlowRecordLogEntry instances to save |
Type
List<String>
Description
The current transaction's ID (based on Logger.getTransactionId())