Building and deploying from Decision Designer

Automation Decision Services provides the embedded build service, which allows you to trigger building and deploying a decision service in a selected version of your project from Decision Designer.

Before you begin

The decision runtime must be installed.

For more information about the installation, see Preparing to install Automation Decision Services.

About this task

When decision services are deployed successfully, they can be later used as automation services, or can be used by the decision runtime for executing decisions. Client applications can call decision services by using the runtime REST API.

  • Decision services are ready to be published as automation services.

    Automation services become discoverable across Business Automation Studio and can be used in other applications. For more information about automation services, see Business automations.

  • Decision service archives are generated for decision services, and deployed to the decision runtime.

    Decision service archives that are built from Decision Designer are deployed to the decision runtime in the deployment space ID (deploymentSpaceId) named embedded.

Restriction: The embedded build service cannot be customized. You might need to use a CI/CD stack for your organization if you want to customize the building and deploying part.

Procedure

  1. Open the Deploy tab from your project page.
  2. Expand the version of the project that you selected, and then click Deploy next to the decision service that you want to build and deploy.
  3. Click Deploy in the confirmation window.

    It might take a while to finish deploying a decision service.

    Tip: Check errors in the log if building or deploying a decision service fails. Click the View logs icon View logs icon next to the deployment status. Contact your administrator or IT specialist to resolve issues if necessary.

    You can undeploy the decision service by clicking the Undeploy icon.

Results

The value for the decisionId parameter is displayed next to the deployment status. This value is used for executing the decision service later. For more information, see Executing decision services.

You can test the deployed decision service by using the runtime REST API in the Swagger UI facility:
  1. Click the horizontal three-dot Test icon View logs icon for the decision service in the Deploy tab.
  2. Swagger UI opens and you can start testing the deployed decision service.

For more information about the runtime REST API, see Runtime REST API reference.

What to do next