Skip to content

调试并重新运行过去的执行#

¥Debug and re-run past executions

Feature availability

适用于 n8n 云套餐和已注册的社区套餐。

¥Available on n8n Cloud and registered Community plans.

你可以将先前执行的数据加载到当前工作流中。这对于调试生产环境中执行失败的数据非常有用。你可以查看执行失败的情况,修改工作流程以修复它,然后使用之前的执行数据重新运行它。

¥You can load data from a previous execution into your current workflow. This is useful for debugging data from failed production executions: you can see a failed execution, make changes to your workflow to fix it, then re-run it with the previous execution data.

加载数据#

¥Load data

加载先前执行的数据:

¥To load data from a previous execution:

  1. 在你的工作流中,选择“执行”选项卡以查看执行列表。

¥In your workflow, select the Executions tab to view the Executions list. 2. 选择要调试的执行。n8n 根据工作流成功或失败显示选项:

¥Select the execution you want to debug. n8n displays options depending on whether the workflow was successful or failed:

  • 对于执行失败:选择“在编辑器中调试”。

    ¥For failed executions: select Debug in editor.

  • 对于执行成功:选择“复制到编辑器”。

    ¥For successful executions: select Copy to editor. 3. n8n 将执行数据复制到你当前的工作流中,并将 固定数据 复制到工作流的第一个节点中。

¥n8n copies the execution data into your current workflow, and pins the data in the first node in the workflow.

Check which executions you save

“执行”列表中可用的执行取决于你的 工作流设置

¥The executions available on the Executions list depends on your Workflow settings.