Creating an Expression Rule Using Rule Specification
Creating an Expression Rule Using Rule Specification
You can use the rule specification to create an expression rule in Informatica Analyst. You can add the rule to column profiles to validate data.
In the header area, click
New
Rule Specification
.
The
New Rule Specification
wizard appears.
In the
New Rule Specification
wizard, enter a name and an optional description for the rule.
In the
Location
field, click
Browse
to select the project or folder where you want to save the rule.
Click
Continue
.
The rule specification appears in the
Design
workspace.
To enter the properties for the rule, select the top-level octagonal shape in the rule, and click
Properties
.
To configure a primary rule set, click the next-level rectangle shape in the rule.
To enter the inputs for the rule set, click
Properties
Inputs
.
The
Inputs Management
dialog box appears.
In the
Inputs Management
dialog box, click
Add Input
, and enter a name, data type, maximum length, and a description for the input. Optionally, you can enter multiple inputs.
Click
OK
.
The inputs appear in
Properties
section.
To define a rule logic, click
Rule Logic
, and enter an operator, condition, and choose an action in the
Action
list.
Optionally, enter multiple rule sets as necessary.
To validate the rule, click the
Validate
(
) icon.
To save and use the rule specification in column profiles, click
Save and Finish
.
To save and continue working on the rule, click
Save and Continue
.
To use the rule specification in the Developer tool, click the
Generate rule
(
) icon to generate a mapplet.
The Analyst tool creates a mapplet in the Model repository. Validate the mapplet as rule and then use the mapplet in the column profiles that you create in the Developer tool.