Waiting for engine...
Skip to main content

useCreateIntegrationPackInstance()

useCreateIntegrationPackInstance():

{ integrationPackConfig, environmentsAttached, isLoading, +2 more }

Provides an imperative createInstance function that:

  1. Creates a new Integration Pack Instance.
  2. Optionally attaches the provided environments to that instance.
  3. Builds a convenient IntegrationPack config object for UI consumption.

Throws

When the Boomi client/context is missing, required inputs are invalid, or the create/attach operations fail.

Returns

Hook API including the latest config, attached environments, loading/error state, and the creator function.

createInstance()

createInstance: (integrationPackId: string, isSingleInstall: boolean, integrationPackOverrideName?: string, environments?: Environment[]) => Promise<undefined | IntegrationPack>

Parameters

Returns

Promise<undefined | IntegrationPack>
On this Page