Using an external library in a decision service
You create a dependency between decision artifacts and the external library to be able to
access the vocabulary the library contains.
About this task
The vocabulary defined in your external library can be used:
- In data models, to define the type associated with an attribute.
- In decision models and predictive models, to define the output type of diagram nodes.
- In task models, to define variable types in variable sets.
- In decision models, task models, and predictive models to write rules.
Procedure
- From your decision artifact, open the Dependencies tab.
- Click Add +. The list of decision artifacts and external libraries available to be used as dependencies is displayed. For an external library to be available, it must be in the same locale as the decision service you are working in. If the external library you want to use is not in the list, see Importing an external library into Decision Designer.
- Select the external library that you want to use and click Add.
What to do next
You can now use the custom functions and data types defined in the external library in your decision artifacts. You can access the list of custom functions and data types at any time by opening the external library from your decision service.