-
-
Notifications
You must be signed in to change notification settings - Fork 165
Logging in OmniStudio
As of v4.14.10
, you can use Nebula Logger to provide logging capabilities in OmniStudio. This is done by leveraging the included CallableLogger
Apex class as a remote action to add log entries, save the log, and interact with other parts of Nebula Logger's functionality.
For OmniStudio builders, the included Apex class CallableLogger
can be used in:
OmniScript
metadata-
OmniIntegrationProcedure
metadata
In both cases, the CallableLogger
class can be configured as a remote action - depending on which action is being called, some additional inputs may need to be provided. For more details (including what actions are available, and their required inputs), see the list of available actions in the CallableLogger
Apex class.
First, find & add a remote action element to your OmniScript
Within the remote action, there are 2 or 3 items to provide for the action:
-
Remote Class:
CallableLogger
-
Remote Method: The name of the action in
CallableLogger
- Extra Payload: Any additional inputs required for the specified action. Not all actions in Nebula Logger require additional inputs.
Similar to OmniScripts, first, find & add a remote action to your Integration Procedure
Within the remote action, there are 2 or 3 items to provide for the action:
-
Remote Class:
CallableLogger
-
Remote Method: The name of the action in
CallableLogger
- Additional Input: Any additional inputs required for the specified action. Not all actions in Nebula Logger require additional inputs.
- Assigning Permission Sets to Users
- Configuring Global Feature Flags
- Configuring Profile & User-Specific Settings
- Configuring Data Mask Rules
Manual Instrumentation
- Logging in Apex
- Logging in Flow & Process Builder
- Logging in Lightning Web Components & Aura Components
- Logging in OmniStudio
- Logging in OpenTelemetry (OTEL) REST API
ISVs & Package Dependencies
- Overview
- Optionally Use Nebula Logger (When Available) with
Callable
Interface - Require Nebula Logger with Strongly-Coupled Package Dependency
Troubleshooting
Pub/Sub with Platform Events
Persisted Data with Custom Objects
- Logger Console app
- Assigning & Managing Logs
- Using 'View Related Log Entries' Component on Record Pages
- Deleting Old Logs
Official Plugins