Re-run a workflow run

Updated

Who can do this: People with permission to publish workflows

Re-run a workflow run to test a fix you've published. A re-run creates a new run that uses your workflow's current published version and the CRM record's latest values.

Before you begin

  • The workflow needs a published version. If it has none, the re-run fails with This ramp has no published workflow version. Publish the workflow before re-running.

  • The workflow can't be paused. To resume a paused workflow, see Building and editing workflows with Aero.

  • The run must have finished. You can't re-run a run that's still in progress.

Re-run a run

  1. Go to Workflows and open the workflow.

  2. Select Runs in the workflow's left menu.

  3. Select the run you want to re-run.

  4. Select Re-run. The button is turned off while the run is still in progress.

  5. In the Re-run workflow? dialog, check the record it names and read any notes.

  6. Select Re-run workflow.

OnRamp creates a new run and opens its page in Runs. The original run keeps its own entry.

What the dialog tells you

The Re-run workflow? dialog names the workflow and the record it will re-run. It also shows a warning based on the run's status:

  • Successful run: This run was successful. Re-running will create a duplicate project.

  • Errored run: This run errored. Make sure the error is corrected before re-running.

  • Run that stopped partway through more than an hour ago: re-running declines it and starts a new run in its place.

  • Run that hasn't been approved or processed yet: re-running declines it, so it can no longer be approved or processed.

  • Run still in progress: it can't be re-run yet. Wait for it to finish or fail.

If the current published version differs from the one the run used, a note reads "This run used version X; the re-run will use the current published version Y." The re-run may branch or map differently than the original.

To learn what each run status means and how to find a run's error, see Workflow didn't create a project.

How a re-run works

  • Version: a re-run always uses the workflow's current published version. A fix you've published applies to the re-run.

  • Record values: a re-run reads the trigger record's current values from your CRM. If that read fails, or the trigger now uses a different CRM or object, it uses the values captured on the original run.

  • Deleted records: if the CRM record no longer exists, the re-run fails with a message saying the record couldn't be found.

  • The original run: a run that was created or pending approval is declined when you re-run it. So is a run that stopped partway through more than an hour ago. Any other original run stays as it was.

When a re-run is blocked

OnRamp refuses a re-run when:

  • The run is still in progress, or the workflow is paused.

  • The run was created by Debug. To test changes before they go live, see Test a workflow with Debug.

  • The run stopped before the trigger conditions were checked. To run the workflow again for that record, update the record in your CRM.

  • The run didn't succeed and already created a project.

  • The run didn't succeed and another run for the same record on that workflow is succeeded, created, in progress or pending approval.

These checks stop a failed run from creating a second project for the same record. Re-running a successful run isn't blocked by them. It creates a second project for the same record.