Ao repetir a execução de uma integração publicada, é possível executar novamente uma integração usando os mesmos parâmetros da execução anterior, parâmetros diferentes ou de um ponto específico de falha. Por exemplo, você pode reproduzir uma execução se uma integração falhar devido a um erro de tempo limite ou se a saída de uma integração não for a esperada. Para mais informações sobre os benefícios de reproduzir execuções, consulte Introdução à reprodução de execuções.
As seções a seguir descrevem como reproduzir execuções na página Registros de execução do Application Integration.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)."]]