Assigning a Data Provider Service to a Condition or Result
You can assign a preconfigured REST service to a condition column or result column that provides a predefined list of values that restrict the user’s input options for this column in the Rules Management Console. For instance, you can provide a list of valid zip codes for a zipCode condition or result column. When modifying the corresponding decision table cells in the Rules Management Console, the business analyst will only be allowed to select an item from this list.
For more information about the required REST service structure, see webMethods Business Rules Reference. For more information about how to configure the server connection the REST service is running on in the Rules Management Console, see Working with Business Rules in My webMethods.
To assign a data provider service:
2. Right-click a condition column header or a result column header and select Configure Data Provider Service from the context menu. Note: You cannot select the Configure Data Provider Service item from the context menu, if a principal has already been assigned to the condition or result column.
3. In the Data Provider Service Configuration dialog box, type the path of the REST service in the Service URI field.
Note: Only enter the part of the service URI that is not specified by the server connection. For instance, if the full URI is http://server:port/basePath/services/provider/zipCode, and you specified a server connection http://server:port/basePath in the Rules Management Console, only enter services/provider/zipCode.
4. Click OK.
The data provider service is assigned to the condition column or result column. For more information about how to modify decision tables that use a predefined list of values, see
Working with Business Rules in My webMethods. To remove an assignment from a decision table condition column or result column, right-click the condition or result column header and select
Delete Data Provider Service from the context menu.