capabilities.work

Deploy Flow From Package

A 6-step recipe with SAP Integration Suite. We can help you get access.

Recipe · 6 steps

Deploy Flow From Package

Locate an integration flow in a package, deploy it, and wait for it to start.

  1. Confirm the target integration package exists before inspecting its contents.
  2. List the design-time artifacts in the package to verify the flow is present.
  3. Read the specific design-time artifact to confirm its version before deploying.
  4. Trigger deployment of the design-time artifact to the runtime. The OData write requires the X-CSRF-Token header supplied as an input.
  5. Poll the runtime artifact until it reports STARTED. A status of ERROR ends the poll and routes to the failure branch.
  6. Re-read the runtime artifact to capture the final error details when the deployment lands in an ERROR state.
What you'll need to have ready
  • packageId: Identifier of the integration package that holds the flow.
  • artifactId: Identifier of the design-time integration flow artifact to deploy.
  • artifactVersion: Version of the artifact to deploy (e.g. "active" or a semantic version).
  • csrfToken: X-CSRF-Token value fetched ahead of time for the OData write call.
For your developer

Arazzo workflow sap-integration-suite:deploy-flow-from-package, 6 operations: getIntegrationPackage → listIntegrationDesigntimeArtifacts → getIntegrationDesigntimeArtifact → deployIntegrationDesigntimeArtifact → getRuntimeArtifact → getRuntimeArtifact. Specs on APIs.io.