Memutar ulang eksekusi integrasi yang dipublikasikan memungkinkan Anda menjalankan kembali integrasi menggunakan parameter yang sama dengan eksekusi sebelumnya, menggunakan parameter yang berbeda, atau dari titik kegagalan tertentu. Misalnya, Anda dapat memutar ulang eksekusi jika integrasi gagal karena error waktu tunggu atau jika output integrasi tidak sesuai yang diharapkan. Untuk mengetahui informasi selengkapnya tentang manfaat memutar ulang eksekusi, lihat Pengantar pemutaran ulang eksekusi.
Bagian berikut menjelaskan cara memutar ulang eksekusi dari halaman Execution Logs Application Integration.
Peran yang diperlukan
Untuk mendapatkan izin yang diperlukan untuk memutar ulang eksekusi, minta administrator Anda untuk memberi Anda peran IAM Application Integration Invoker (roles/integrations.integrationInvoker) di project.
Untuk mengetahui informasi selengkapnya tentang cara memberikan peran, lihat Mengelola akses ke project, folder, dan organisasi.
Anda mungkin juga bisa mendapatkan
izin yang diperlukan melalui peran
khusus atau peran
bawaan lainnya.
Memutar ulang eksekusi
Untuk memutar ulang eksekusi, pilih salah satu opsi berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]