Wenn Sie die Ausführung einer veröffentlichten Integration wiedergeben, können Sie eine Integration mit denselben Parametern wie bei der vorherigen Ausführung, mit anderen Parametern oder ab einem bestimmten Fehlerpunkt noch einmal ausführen. Sie können beispielsweise eine Ausführung wiederholen, wenn eine Integration aufgrund eines Zeitüberschreitungsfehlers fehlgeschlagen ist oder die Ausgabe einer Integration nicht wie erwartet ist. Weitere Informationen zu den Vorteilen der Wiederholung von Ausführungen finden Sie unter Einführung in die Wiederholung von Ausführungen.
In den folgenden Abschnitten wird beschrieben, wie Sie Ausführungen auf der Seite Ausführungslogs von Application Integration wiedergeben.
Erforderliche Rollen
Bitten Sie Ihren Administrator, Ihnen die IAM-Rolle Application Integration Invoker (roles/integrations.integrationInvoker) für das Projekt zuzuweisen, um die Berechtigungen zu erhalten, die Sie zum Wiederholen von Ausführungen benötigen.
Weitere Informationen zum Zuweisen von Rollen finden Sie unter Zugriff auf Projekte, Ordner und Organisationen verwalten.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (UTC)."],[[["\u003cp\u003eThis page describes the "Replay executions" feature, which allows you to rerun a previous integration execution with the same parameters.\u003c/p\u003e\n"],["\u003cp\u003eReplaying an execution is useful for cases where the integration failed due to issues like a timeout error or if the output was unexpected.\u003c/p\u003e\n"],["\u003cp\u003eTo replay an execution, you need the Application Integration Invoker IAM role on the project.\u003c/p\u003e\n"],["\u003cp\u003eExecutions can be replayed via the Application Integration console by going to the Logs page, selecting the execution, and clicking "Replay," or via the \u003ccode\u003eprojects.locations.integrations.executions.replay\u003c/code\u003e API method.\u003c/p\u003e\n"],["\u003cp\u003eThe feature is currently a Pre-GA offering, and the user must consult the Pre-GA Offerings terms in the Service Specific Terms section.\u003c/p\u003e\n"]]],[],null,["# Replay executions\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nReplay executions\n=================\n\nReplaying published integration execution lets you rerun an integration using the same parameters as the previous execution, using different parameters, or from a specific point of failure. For example, you can replay an execution if an integration failed due to a timeout error or if the output of an integration is not as expected. For more information about the benefits of replaying executions, see [Introduction to replay executions](/application-integration/docs/replay-executions).\n\nThe following sections describe how to replay executions from the Application Integration **Execution Logs** page.\n\nRequired roles\n--------------\n\n\nTo get the permissions that\nyou need to replay executions,\n\nask your administrator to grant you the\n\n\n[Application Integration Invoker](/iam/docs/roles-permissions/integrations#integrations.integrationInvoker) (`roles/integrations.integrationInvoker`)\nIAM role on project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nReplay executions\n-----------------\n\nTo replay an execution, select one of the following options:\n\n### Console\n\n1. In **Application Integration** , go to the **Logs** page.\n\n [Go to Application Integration Logs](https://console.cloud.google.com/integrations/logs)\n\n The **Execution Logs** page appears displaying the lists of region specific execution logs.\n2. Click **more_vert (More actions)** for the execution log that you want to replay, and then select **refresh Replay** .\n\n If your execution is in the **Suspended** , **On hold** , or the **Retry on hold** state, select the **refresh Cancel and replay** option.\n | **Note:** You can't cancel an integration execution if the integration is in the **In process** state.\n3. In the **Replay Execution** pane, provide the following inputs:\n 1. **Reason for replaying the execution:** Enter the reason for replaying the execution. This reason is displayed in the execution log and might be useful for debugging.\n 2. **Replay from point of failure:** Select to replay the execution from the point of failure. This resumes from the first failed task or trigger in the previous run. **Note:** The **Replay from point of failure** option only appears for failed executions.\n 3. **Configure input variables:** This section lets you configure the input variables for the replay execution. You can either use the existing values from the previous run or provide new values to replay.\n4. Click **Replay**.\n5. The following image shows a sample execution log with the **Replay Execution** pane open:\n6. \n\n### API\n\nCall the [`projects.locations.integrations.executions.replay` method](/application-integration/docs/reference/rest/v1/projects.locations.integrations.executions/replay) and provide the ID of the execution that you want to replay: \n\n```\ncurl -X POST https://integrations.googleapis.com/v1/projects/PROJECT_ID/locations/REGION/integrations/INTEGRATION_NAME/executions/EXECUTION_ID:replay -H \"Authorization: Bearer $TOKEN\"\n \n```\n\nWhat's next\n-----------\n\n- Learn about [replay executions](/application-integration/docs/replay-executions).\n- Learn about [cancelling executions](/application-integration/docs/cancel-executions).\n- Learn about [logs in Application Integration](/application-integration/docs/introduction-logs)."]]