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
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
recordId → IdOptionally relate the log entry to a particular record ID
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 → DateTimeCurrent system timestamp.
topics → List<String>Optionally provide a comma-separated String of tags to dynamically assign to the log entry
addFlowEntries(List<FlowLogEntry> flowLogEntries) → List<String>Invocable method, that can be called via flow.
| Param | Description |
|---|---|
flowLogEntries |
The list of FlowLogEntry instances to save |
Type
List<String>
Description
The current transaction's ID (based on Logger.getTransactionId())