Assigning a Verification Service to a Decision Table Condition or Decision Table Result
You can verify a condition or a result of a decision table on the basis of a preconfigured REST service that is running on a server. For instance, you can check if the values at runtime for a zipCode parameter start with the figure 0.
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 verify a condition or result of a decision table on the basis of a REST service, you must assign this service to the condition column or result column.
To assign a verification service:
2. Right-click a condition column header or a result column header and select Configure Verification Service from the context menu. 3. In the Business Verification 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/verify/zipCode, and you specified a server connection http://server:port/basePath in the Rules Management Console, only enter services/verify/zipCode.
4. Click OK.
The verification service is assigned to the condition column or result column. Any warnings and errors are displayed in the Rules Management Console. For more information about how to check the verification result, 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 Verification Service from the context menu.
Related Topics