Building and deploying from Decision Designer

You can build and deploy a decision service in a selected version of your decision automation 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 decision 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.

  • 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.

Procedure

  1. Open the Deploy tab from your decision automation page.
  2. Expand the version of the decision automation 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 and test report if building or deploying a decision service fails. Click the icon View logs icon in 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 in the Decision ID column. 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 decision runtime REST API in the Swagger UI facility:
  1. Click the Test icon test 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 the Decision runtime REST API reference in Reference.

What to do next

You can now publish the decision service as an automation service in Business Automation Studio. For more information, see Publishing decision services in Business Automation Studio.

The decision service is now ready to be used by the decision runtime to execute decisions. For more information, see Executing decision services.