Mapplet rules can require values from multiple ports. You must map each source input column to a rule input and output port that you configure in the mapplet rule.
In the
Define | Data Masking
view, click the
Masking Rule
column for the column that requires a mapplet rule.
Select the mapplet rule from the list.
The
Custom Rule Assignment
dialog box appears with the list of columns in the table.
Select a source input column in the left panel and a rule input port in the right panel.
When you select a source input column, the rule ports with same data type become available for mapping.
Click the
Link
icon to create a mapping.
An arrow appears that links the source port to the rule port.
To create a mapping, you can also click
Show Simple
and map the ports.
If you need to remove the link, select the source input port and the rule input port. Click the
Unlink
icon.
The arrow between the ports disappears.
After you map the rule input ports, click
Next
.
Select a rule output port in the left panel and a source input column in the right panel.
Click the
Link
icon to create a mapping. To remove a mapping, click the
Unlink
icon.
Click
Save
.
If the source database is Sybase and the target database is Hadoop, you must limit the custom rule assignment to a maximum of 20 columns. The workflow generation fails if you assign a custom rule to more than 20 columns.