Define Enumerated Data Types
The GetMetadata response action for a web service connector can define enumerated data types for fields, using the enum-type attribute. These enumerations will be imported as value lists for any Policy Modeling project that uses that connection. These types may also be used to further restrict a field or set of fields to only the values specified in an enumeration.
For example:
<Field name="DangerRating" enum-type="rating" can-be-input="true" can-be-output="true"/>
This signifies that the field 'DangerRating' can only have one of the values specified in the "rating" enumeration.
Defined enumerations may also be linked to allow filtering of child enumeration values based on the set value in the parent list.
Note that enum-type cannot be specified for a field if type is provided, and also that enum-type must be specified if no type attribute is provided.