Mit der Aufgabe Anrufintegration können Sie andere in Ihrem Google Cloud-Projekt erstellte Integrationen aufrufen oder aufrufen.
Die Aufgabe Anrufintegration ist nützlich in Szenarien, in denen Sie mehrere kleine Integrationen (Subintegrationen) definieren müssen, die mit einer Hauptintegration (übergeordnete Integration) gesteuert werden. Nach dem Ausführen einer Subintegration können Sie auch die Antwort der Subintegration in Ihrer Hauptintegration lesen.
Hinweise
Die Aufgabe Anrufintegration verwendet den API-Trigger, um andere Integrationen und Teilintegrationen zu identifizieren und aufzurufen. Daher müssen Sie sicherstellen, dass die Integrationen, die Sie aufrufen möchten, mit dem API-Trigger konfiguriert sind. Informationen zum Konfigurieren eines API-Triggers finden Sie unter API-Trigger.
Achten Sie darauf, dass Sie Ihrer Integration ein nutzerverwaltetes Dienstkonto zugewiesen haben. Wenn für die Integration kein nutzerverwaltetes Dienstkonto konfiguriert ist, wird standardmäßig das Standarddienstkonto (service-PROJECT_NUMBER@gcp-sa-integrations.iam.gserviceaccount.com) zur Authentifizierung verwendet.
Achten Sie darauf, dass Ihrem Dienstkonto die IAM-Rolle Aufrufer der Anwendungsintegrationen zugewiesen ist. Informationen zum Zuweisen von Rollen zu einem Dienstkonto finden Sie unter Zugriff auf Dienstkonten verwalten.
Aufgabe für die Anrufintegration konfigurieren
So konfigurieren Sie die Aufgabe Call Integration:
Rufen Sie in der Google Cloud Console die Seite Application Integration auf.
Die Seite Integrationen wird angezeigt. Dort sind alle Integrationen aufgeführt, die im Google Cloud-Projekt verfügbar sind.
Wählen Sie eine vorhandene Integration aus oder klicken Sie auf Integration erstellen, um eine neue zu erstellen.
Wenn Sie eine neue Integration erstellen, gehen Sie so vor:
Geben Sie im Bereich Integration erstellen einen Namen und eine Beschreibung ein.
Wählen Sie eine Region für die Integration aus.
Wählen Sie ein Dienstkonto für die Integration aus. Sie können die Details des Dienstkontos einer Integration jederzeit im Bereich infoIntegrationsübersicht in der Symbolleiste für Integrationen ändern oder aktualisieren.
Klicken Sie auf Erstellen. Die neu erstellte Integration wird im Integrationseditor geöffnet.
Klicken Sie in der Navigationsleiste des Integrationseditors auf Aufgaben, um eine Liste der verfügbaren Aufgaben und Verbindungen aufzurufen.
Klicken Sie auf das Element Aufrufintegration und fügen Sie es in den Integrationseditor ein.
Klicken Sie im Designer auf das Aufgabenelement Integration aufrufen, um den Konfigurationsbereich der Aufgabe Integration aufrufen anzuzeigen.
Konfigurieren Sie die folgenden Details der Subintegration:
API-Trigger-ID: Geben Sie die API-Trigger-ID der Integration ein, die Sie aufrufen möchten. Sie können eine oder mehrere Integrationen mit derselben Trigger-ID aufrufen.
Alle Integrationen mit dieser API-Trigger-ID ausführen: Wählen Sie diese Option aus, um alle Integrationen mit derselben API-Trigger-ID aufzurufen.
Beispiel: Wenn die Integration A und die Integration B dieselbe API-Trigger-ID haben, werden beide Integrationen, A und B, ausgeführt.
Einzelne Integration ausführen: Wählen Sie diese Option aus, um nur die im Feld Integrationsname angegebene Integration aufzurufen. Sie können auf die Antwort der Subintegration zugreifen und sie zuordnen. Konfigurieren Sie dazu die Felder, die unter Antwortvariablen der Subintegration zuordnen beschrieben werden.
Ausführungsstrategie: Wählen Sie die Ausführungsmodi für die Subintegrationen aus, die Sie aufrufen möchten.
SYNC: Führt die Subintegration im synchronen Modus aus. In diesem Modus wartet die Hauptintegration, bis die Subintegrationen abgeschlossen sind, bevor sie mit den nachgelagerten Aufgaben fortfährt.
ASYNC: Führt die Subintegration im asynchronen Modus aus. In diesem Modus wartet die Hauptintegration nicht, bis die Subintegrationen abgeschlossen sind. Direkt nach dem Aufrufen der Subintegrationen führt die Hauptintegration die nachgelagerten Aufgaben aus.
Wenn diese Option ausgewählt ist, legen Sie die Ausführungsverzögerung (in Millisekunden) fest. Wenn festgelegt, gibt dies die Zeitverzögerung an, bis die Integration ausgeführt wird.
Ihre Änderungen an den Attributen werden automatisch gespeichert.
Antwortvariablen der Subintegration zuordnen
In der folgenden Tabelle werden die Konfigurationsattribute beschrieben, mit denen Variablen zwischen der Hauptintegration und den Subintegrationen zugeordnet werden können:
Attribut
Beschreibung
Map to sub-integration input(s)
Ordnet Werte der Hauptintegration der Subintegration zu. Dieses Feld nimmt Werte in Form von Schlüssel/Wert-Paaren an, wobei der Schlüssel eine Variable in der Hauptintegration ist und der Wert die entsprechende Eingabevariable in der Subintegration ist.
Wenn Sie beispielsweise die Variable productID der Hauptintegration der Variable subIntProductID der Subintegration zuordnen möchten, wählen Sie productID aus der Integrationsvariablen aus, aus der zugeordnet werden soll aus und geben Sie subIntProductID in das Feld Subintegrationseingabe, zu der zugeordnet werden soll ein.
Map values to sub-integration output(s)
Ordnet die Subintegrationsausgabevariablen zu den Hauptintegrationsvariablen zu.
Klicken Sie auf Subintegrationsausgabe, aus der zugeordnet werden soll, und wählen Sie die Subintegration aus. Klicken Sie auf Integrationsvariable, in die zugeordnet werden soll, und wählen Sie die entsprechende Hauptintegrationsvariable aus.
Best Practices
Informationen zu den Nutzungslimits für die Aufgabe Anrufintegration finden Sie unter Nutzungslimits.
Fehlerbehebungsstrategie
Eine Strategie zur Fehlerbehandlung für eine Aufgabe legt die Aktion fest, die ausgeführt werden soll, wenn die Aufgabe aufgrund eines temporären Fehlers fehlschlägt. Informationen zur Verwendung einer Fehlerbehandlungsstrategie und zu den verschiedenen Arten von Fehlerbehandlungsstrategien finden Sie unter Strategien zur Fehlerbehebung.
Kontingente und Limits
Weitere Informationen zu allen Kontingenten und Limits finden Sie unter Kontingente und Limits.
[[["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-09-03 (UTC)."],[[["\u003cp\u003eThe Call Integration task allows you to invoke other integrations within your Google Cloud project, enabling the creation of sub-integrations controlled by a parent integration.\u003c/p\u003e\n"],["\u003cp\u003eTo use the Call Integration task, the integrations you intend to call must be configured with an API trigger, and the service account should have the Application Integration Invoker IAM role.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure the Call Integration task to run multiple integrations with the same API Trigger ID or run a single specific integration and map the response variables accordingly.\u003c/p\u003e\n"],["\u003cp\u003eThe Call Integration task supports synchronous (SYNC) and asynchronous (ASYNC) execution strategies for sub-integrations, allowing control over how the main integration interacts with the sub-integrations.\u003c/p\u003e\n"],["\u003cp\u003eYou can map input variables from the main integration to the sub-integration, and map sub-integration output variables to the main integration when running a single integration with a synchronous execution strategy.\u003c/p\u003e\n"]]],[],null,["# Call Integration task\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nCall Integration task\n=====================\n\nThe **Call Integration** task lets you invoke or call other integrations created within your Google Cloud project.\n\nThe **Call Integration** task is useful in scenarios where you need to define multiple small integrations (sub-integrations) that is controlled using a main integration (parent integration). After running a sub-integration, you can also\nread the response of the sub-integration in your main integration.\n\nBefore you begin\n----------------\n\n- The **Call Integration** task uses the API trigger to identify and call other integrations and sub-integrations. Therefore, you must ensure that the integrations you want to call are configured using the API trigger. For information about configuring an API trigger see [API trigger](/application-integration/docs/configuring-api-trigger).\n- Ensure that you have [attached a user-managed service account](/application-integration/docs/access-control#add-service-account) to your integration. If your integration does not have user-managed service account configured, then by default the [default service account](/application-integration/docs/access-control#default-service-account) (`service-`\u003cvar translate=\"no\"\u003ePROJECT_NUMBER\u003c/var\u003e`@gcp-sa-integrations.iam.gserviceaccount.com`) is used for authentication.\n- Ensure that your service account has the **Application Integration Invoker** IAM role. For information about granting roles to a service account, see [Manage access to service accounts](/iam/docs/manage-access-service-accounts).\n\nConfigure the Call Integration task\n-----------------------------------\n\nTo configure the **Call Integration** task:\n\n1. In the Google Cloud console, go to the **Application Integration** page.\n\n [Go to Application Integration](https://console.cloud.google.com/integrations)\n2. In the navigation menu, click **Integrations** .\n\n\n The **Integrations** page appears listing all the integrations available in the Google Cloud project.\n3. Select an existing integration or click **Create integration** to create a new one.\n\n\n If you are creating a new integration:\n 1. Enter a name and description in the **Create Integration** pane.\n 2. Select a region for the integration. **Note:** The **Regions** dropdown only lists the regions provisioned in your Google Cloud project. To provision a new region, click **Enable Region** . See [Enable new region](/application-integration/docs/enable-new-region) for more information.\n 3. Select a service account for the integration. You can change or update the service account details of an integration any time from the info **Integration summary** pane in the integration toolbar. **Note:** The option to select a service account is displayed only if you have enabled integration governance for the selected region.\n 4. Click **Create** . The newly created integration opens in the *integration editor*.\n\n\n4. In the *integration editor* navigation bar, click **Tasks** to view the list of available tasks and connectors.\n5. Click and place the **Call Integration** element in the integration editor.\n6. Click the **Call Integration** task element on the designer to view the **Call Integration** task configuration pane.\n7. Configure the following sub integration details:\n 1. **API Trigger ID:** Type the [API trigger ID](/application-integration/docs/configuring-api-trigger#configure-an-api-trigger) of the integration that you want to call. You can call a single integration or multiple integrations with the same trigger ID.\n 2. **Run all integrations with this API Trigger ID:** Select this option to call all the integrations that have the same API **Trigger ID** .\n\n\n For example, if integration\n `A` and integration `B`, have the same API\n **Trigger ID** , both the integrations `A` and `B`\n are run.\n\n\n | **Note** : If you select this option, the response from the sub-integrations will not be available in the main integration. If you want to access the response of the sub-integrations, select the **Run a single integration** option.\n 3. **Run a single integration** : Select this option to call only the integration specified in the **Integration name** field. You can access and map the response from the sub-integration by configuring the fields detailed in [Map sub-integration response variables](#params).\n\n\n 4. **Execution strategy:** Select the execution modes for the sub-integrations that you want to call.\n - **SYNC** : Runs the sub-integration in synchronous mode. In this mode, the main integration waits for the sub-integrations to complete before continuing with the downstream tasks.\n\n \u003cbr /\u003e\n\n - **ASYNC** : Runs the sub-integration in asynchronous mode. In this mode, the main integration does not wait for the sub-integrations to complete. Immediately after calling the sub integrations, the main integration runs the downstream tasks.\n\n\n If this option is selected, set the **Execution delay (in milliseconds)**. When set, this specifies the\n time delay until the integration is run.\n\n \u003cbr /\u003e\n\n\n All changes to the properties are saved automatically.\n\nMap sub-integration response variables\n--------------------------------------\n\nThe following table describes the configuration properties to map variables between the main integration and sub-integrations:\n\nBest practices\n--------------\n\nFor information about the usage limits that apply to the **Call Integration** task, see [Usage limits](/application-integration/docs/quotas#usage-limits).\n\nError handling strategy\n-----------------------\n\n\nAn error handling strategy for a task specifies the action to take if the task fails due to a [temporary error](/application-integration/docs/error-handling). For information about how to use an error handling strategy, and to know about the different types of error handling strategies, see [Error handling strategies](/application-integration/docs/error-handling-strategy).\n\nQuotas and limits\n-----------------\n\nFor information about quotas and limits, see [Quotas and limits](/application-integration/docs/quotas).\n\nWhat's next\n-----------\n\n- Learn about [all tasks and triggers](/application-integration/docs/all-triggers-tasks).\n- Learn how to [test and publish an integration](/application-integration/docs/test-publish-integrations).\n\n- Learn about [error handling](/application-integration/docs/error-handling-strategy).\n- Learn about [integration execution logs](/application-integration/docs/introduction-logs)."]]