Task 2: Exposing and sharing your decision service

You create an operation to expose your decision service. Then, you share your decision service, and look at selecting collaborators for your automation.

Step 1: Creating an operation

To expose a decision service, you must define an operation that is used to call the service. The operation includes a name and a reference to the decision model (see Creating decision operations).

  1. Click My Service in the breadcrumbs to open your decision service.
  2. Click the Decision operations tab, and then Create.
  3. Under Source model, select My Model. Keep My_Model in the Operation name field.

    The input and output parameters are not editable.

  4. Click Create.

    The decision operation My_Model is created. You see it used in task 6 to run your decision service.

  5. Click My Getting Started in the breadcrumbs to return to your decision automation.

    The header bar shows that you have a new change to share. Now you share your changes.

Step 2: Sharing your changes

You share your changes within your instance of Decision Intelligence.

  1. Open the Share changes tab.

    You see two artifacts: decision service and decision model. These changes are from the decision service that you assembled in the previous task.

  2. Keep My Service selected, and click Share.
  3. Enter the following comment, and then click Share:
    First getting started version.

    A notification is displayed confirming that your changes were successfully shared. You can close the notification.

Step 3: Choosing your collaborators

  1. Click Decision Automations in the breadcrumbs.
  2. Click the overflow menu Overflow menu icon in the My Getting Started decision automation tile, and then click Edit details.
  3. Open the User management tab.

    You see that you have administrative permissions on your decision automation.

    Restriction: To add collaborators, you must have a direct role assigned on your service instance. Roles assigned through a user group do not grant this permission. Similarly, the user list displays only users who have been assigned a direct role on the service instance.
  4. Type the name or email of the user you want to add in the search field and select the user.
  5. Assign a role to the user:
    • Read: Users can open decision automations, load changes, and work on decision services, but cannot share changes with collaborators.
    • Edit: Users can do everything a reader can, plus share changes, manage machine learning providers, and create, delete, or deploy versions.
    • Admin: Users can do everything an editor can, plus edit or remove automations, manage user access, and merge changes on protected branches.
  6. Because you are doing this tutorial alone, click Cancel to abandon this operation.
  7. Click My Getting Started to return to your decision automation.