Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Debug an Orchestration

          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
          • The orchestration run encountered an error.
          • A stage within the orchestration run encountered an error.
          • A step within the orchestration run encountered an error.

          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
          • The stage was completed.
          • The stage was in progress when its parent orchestration run was canceled.
          Suspend Stage The stage was in progress when its parent orchestration run was manually suspended.
          Discontinue Stage
          • The parent orchestration run encountered an error after the stage was completed.
          • The parent orchestration run encountered an error while the stage was in progress.
          Fail Stage
          • The stage encountered an error.
          • A background step within the stage encountered an error.
          • An autolaunched flow called by a background step within the stage encountered an error.

          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
          • The step's stage was completed while the step was in progress.
          • The parent orchestration run encountered an error after the step was completed.
          • The parent orchestration run encountered an error while the step was in progress.
          • The step's stage encountered an error while the step was in progress.
          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.
           
          Loading
          Salesforce Help | Article