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).
- Click My Service in the breadcrumbs to open your decision service.
- Click the Decision operations tab, and then Create.
- Under Source model, select My Model. Keep
My_Model in the Operation name field.
The input and output parameters are not editable.
- Click Create.
The decision operation My_Model is created. You see it used in task 6 to run your decision service.
- 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.
- 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.
- Keep My Service selected, and click Share.
- 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
- Click Decision Automations in the breadcrumbs.
- Click the overflow menu
in the My Getting Started decision automation tile, and then click Edit details.
- 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. - Type the name or email of the user you want to add in the search field and select the user.
- 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.
- Because you are doing this tutorial alone, click Cancel to abandon this operation.
- Click My Getting Started to return to your decision automation.