PublishJourney
Publishes a specified journey version asynchronously in Salesforce Marketing Cloud. Publication makes the journey active and available for contact entry, enabling real-time automation execution.
Input
| Name | Type | Required | Description |
| JourneyId | String | True | Specifies the unique identifier (Id) of the journey, expressed as a globally unique Id. Salesforce Marketing Cloud assigns this value to each journey definition, and the publish operation uses it to locate and activate the correct journey. |
| JourneyVersion | Integer | True | Specifies the version number of the journey that should be published. This value determines which iteration of the journey definition is activated and made available for entry and execution. |
Result Set Columns
| Name | Type | Description |
| StatusId | String | Specifies the status Id that represents the outcome of the publish request. This Id can be used to retrieve additional publication details (for example, success, failure, or validation results). |