You are here:
Debug an Orchestration
Debug an orchestration in Flow Builder to better understand the path an orchestration takes in different scenarios and the values that variables have at points within the automation. Use rollback mode to debug without making changes to your data. Or debug while making changes to your data.
Required Editions
| View supported editions for Flow Orchestration. |
Milestones
Orchestration milestones are a part of orchestration log, error, and debug details.
| Orchestration Run Milestone | Description |
|---|---|
| Start Run | The orchestration run started or was manually resumed. |
| End Run | The orchestration run was completed. |
| Suspend Run | The orchestration run was manually suspended. |
| Cancel Run | The orchestration run was manually canceled. |
| Resume Run | The orchestration run was manually resumed. |
| Fail Run |
|
Stage milestones are a part of orchestration debugging details.
| Stage Milestone | Description |
|---|---|
| Start Stage | The stage started or was resumed when its parent orchestration run was resumed. |
| End Stage |
|
| Suspend Stage | The stage was in progress when its parent orchestration run was manually suspended. |
| Discontinue Stage |
|
| Fail Stage |
|
Step milestones are a part of orchestration debugging details.
| Step Milestone | Description |
|---|---|
| Start Step | The step started. |
| End Step | The step was completed. |
| Discontinue Step |
|
| Fail Step | The step encountered an error. |
Work item milestones are a part of orchestration debugging details.
| Work Item Milestone | Description |
|---|---|
| Start Work Item | The work item was created and assigned. |
| End Work Item | The assigned user completed the work item. When the work item reaches the End Work Item milestone, the Completed By field is set to the username of the user or credentialed Experience Cloud site visitor who completed the work. When the work item reaches this milestone, the Duration field is set to the duration of the step in seconds. |
| Reassign Work Item | The work item was reassigned. |
- Debug an Orchestration Without Changing Your Data
Debug your orchestration in Flow Builder to ensure that it runs as expected or to determine the cause of unexpected errors. Use rollback mode to debug your orchestration without making changes to your Salesforce data. - Debug an Orchestration and Keep Data Changes
Test and troubleshoot your orchestration with database updates. Set a start point to skip earlier stages, an end point to stop before later stages, or both to isolate a middle segment. You can also set mock outputs for steps. A step that uses mock output doesn't run its referenced flow or make changes to the Salesforce database. You’re the assigned user for all interactive steps that meet their entry conditions.

