The rule specification properties define the behavior of the rule specification and identify the assets that the rule specification uses. To view the properties, click the top-level shape in the rule specification.
The rule specification displays the properties on the following views:
General
Lists the name, the description, and the Model repository location of the rule specification. You can update the name and the description.
Assets
Lists the assets that link to the rule specification. The rule specification can link to mapplets and to reference tables.
Click an asset name to open the asset in the workspace. Expand an asset to view the asset metadata.
The mapplets that you generate from the rule specification appear in the
Generated Assets
area. Any mapplet or reference table that you select in a rule statement appears in the
Related Assets
area.
Rule Properties
Lists the properties that the rule specification applies to the output from each rule set.
The rule specification applies the following properties to the output data:
Maximum string length. Determines the maximum length for text data. Default is 100.
Maximum number length. Determines the maximum length for numeric data. Default is 10.
Number of decimal places. Determines the maximum number of decimal places to include in the output data. Default is 4.
A rule set can read a maximum of four decimal places from input data of the float data type.
Time Period
Specifies the time period in which the mapplets that you generate from the rule specification can run in a mapping. The properties apply to all mapplets that the rule specification generates, including any mapplet that derives from a rule set or a rule statement within the rule specification. The properties do not apply to a mapplet that you select in a condition or an action. By default, the rule specification does not specify a valid time period.
If you run a mapping that reads a mapplet outside the valid time period, the mapping fails to run. You can validate a rule specification and generate a mapplet rule from a rule specification outside the time period.
The properties also apply to the test operations that you perform on the rule specification. You cannot test a rule specification outside the time period.
Test
Displays the inputs that you add to the rule sets as a set of fields that you can populate with test data. Use the fields to verify that data flows through the rule specification in the ways that you expect. You can test the rule specification, and you can test any rule set in the rule specification.
To test a rule specification or a rule set, enter sample data to the fields in the test area. You can cut, copy, and paste data between test areas in the rule specification and between two rule specifications that are open concurrently. When you save the rule specification, you save the sample data that you entered.
To update the properties, open the rule specification and click