Creating decision services

Decision services are where you create and verify your decisions. You can create an empty decision service, start from a sample decision service, or import a previously exported decision service.

Before you begin

You need to have a decision automation where you create your decision service. For more information about decision automations, see Creating decision automations.

Procedure

  1. Open the Business automations page from Business Automation Studio. Select the decision automation name in the Decision automations section, and click Open.

    Check the tabs on the decision automation page in Decision Designer:

    Table 1. Tabs on the decision automation page
    Tab What you can do
    Decision services

    Displays the list of decision services.

    • Create or delete decision services.
    • Rename the decision service or edit the description.
    • Import decision services
    • Import samples
    Load changes

    You see an icon with a blue dot load changes with a blue dot when you have incoming changes that you need to load for the decision automation.

    • Check whether your collaborators made changes in the decision automation and shared them.
    • Retrieve the changes that have been shared by your collaborators. If there is any conflict between your changes and your collaborators' changes on the same decision artifact, you can resolve it here.
    Share changes
    • View the decision artifacts that you haven't shared yet.
    • Share decision services or decision artifacts that you created, updated, or deleted with your collaborators.
    • Revert some or all of your changed decision artifacts that are not shared to a previous state by undoing the changes you made.
    Branches Manage branches:
    • Create new branches based off existing ones.
    • Create merge requests and merge branches to incorporate changes from a source branch to a target branch.
    • Delete branches.
    View history
    • View the changes that are shared with your collaborators.
    • Revert to a version that was shared in the past.
    • Create a version of your decision automation. The version that you created can be later used to build and deploy a decision service.
    Deploy
    • Build and deploy decision services.

    Deployed decision services are available to be published as automation services. They are also ready to be used by the decision runtime for executing decisions.

  2. In the Decision services tab, click New decision to create a decision service. Choose whether to create an empty decision service or to create a decision service based on an exported decision decision service or a sample:
    Table 2. Options available to create a decision service
    Option Procedure
    Create a decision service from scratch
    1. Click Create decision service.
    2. Enter a name for the decision service.
    3. Select a language.
    4. (Optional) Add a description.
    5. (Optional) Edit the group ID of the decision service.

      You need to follow a naming convention when you enter the group ID. For more information about the naming convention, see the Unique Package Names section in this documentation. Contact your administrator if you are not sure what group ID to enter.

      For more information about group IDs, see Editing group IDs.

    6. Click Create.
    Import an existing decision service

    You can import existing decision services, as well as decision modeling projects from IBM Operational Decision Manager and IBM Decision Composer.

    You can import .zip and .dproject files. These files can contain multiple decision services.

    1. Select Import decision service.
    2. Click Browse to select a file on your machine.
    3. Click Import.
    Import a sample

    A collection of samples is available in the Discovery tutorials and Industry samples, and Localized samples tabs.

    The samples under Discovery tutorials are designed to help get you started in Automation Decision Services. The samples under Industry samples allow you to discover decision services tailored for specific business applications. The samples under Localized samples show you an example of a simple decision service in the different languages supported by Automation Decision Services.

    1. Select the sample that you want to import.
    2. Click Import.

What to do next

The decision service is created. You can now do the following actions: