JourneyAuditLogs
Returns audit logs for journeys and their versions in Salesforce Marketing Cloud. Each record captures configuration changes, version updates, or execution details that provide transparency and traceability for journey management. This view supports compliance and debugging by tracking historical activity.
Columns
| Name | Type | References | Description |
| JourneyId | String |
Journeys.Id | Specifies the unique identifier (Id) of the journey for which audit activity is recorded. This Id is generated by the Journey Builder API when the journey is created. |
| JourneyVersion | Integer |
Journeys.Version | Specifies the version number of the journey at the time the audited action occurred. Each version represents a specific published or edited state of the journey. |
| Key | String | Specifies the customer key that uniquely identifies the journey within the business unit. This key provides a stable reference across versions and API interactions. | |
| Action | String | Specifies the action that was recorded in the audit log (for example, creating, editing, publishing, pausing, or stopping the journey).
The allowed values are all, create, modify, publish, unpublish, delete. The default value is all. | |
| Name | String | Specifies the display name of the journey at the time of the audited action. This name appears in the Journey Builder user interface and helps identify the journey's purpose during review. | |
| Description | String | Specifies the descriptive text that explains the purpose or function of the journey. This description can assist administrators during audit reviews or change-history analysis. | |
| ActionDate | Datetime | Specifies the date and time when the audited action occurred. This timestamp enables chronological tracking of journey changes and operations. | |
| UserId | Integer | Specifies the Id of the user who performed the audited action. This information supports administrative reviews and compliance reporting. | |
| UserName | String | Specifies the name of the user who performed the audited action. This value helps identify the origin of configuration changes or operational events. | |
| ExecutionMode | String | Specifies the execution mode in which the journey was running at the time of the action (for example, test mode or standard execution). The mode affects how Journey Builder processes contacts and evaluates activities. | |
| OriginalDefinitionId | String | Specifies the Id of the original journey definition from which the current version was derived. This value helps establish lineage across journey versions. | |
| PublishRequestId | String | Specifies the Id of the publish request that initiated the journey's publication process. This Id can be used to correlate publication events with corresponding audit records. | |
| PublishStatus | String | Specifies the publication status of the journey at the time of the audited action (for example, pending, publishing, published, or error). | |
| Errors | String | Specifies any errors that occurred during the audited action. These details help diagnose configuration or publication issues. | |
| ContactsEjected | String | Specifies the list of contacts that were ejected when the journey was stopped. This information provides traceability for contact paths that were terminated due to administrative actions. |