Step 2d. Configure the Pattern Selection Criteria Details
Step 2d. Configure the Pattern Selection Criteria Details
If you choose the pattern selection criteria for the input rule, choose a pattern type for the port name. Enter a value for the pattern or use a parameter of type String to specify the value that you can change at run time.
In the
Input Rule Detail: By Pattern
dialog box, select one of the following from the
Pattern Type
list:
Prefix. To include or exclude port names that start with the prefix string.
For example, if you enter the prefix value
E
, the input rule filters the port names that start with E or e such as EmpNo, empName, and EmpTitle.
Suffix. To include or exclude port names that end with the suffix string.
For example, if you enter the suffix value
E
, the input rule filters the port names that end with E or e such as empname and EMPTITLE.
Regular expression. To include or exclude port names that follow a certain pattern.
For example, if you enter the value
E.*No
, the input rule filters port names that start with E and end with No such as ENo, EmpNo, and EmployeeNo.
Select one of the following from the
Specify by
list:
Value
. Enter the string value for the pattern.
Parameter
. Create a new parameter or choose an existing parameter of string type.
Specify pattern values in the
String
box and click
OK
.
To create a new parameter for the pattern, perform the following steps:
Click
New
.
In the Parameters dialog box, enter a parameter name.
Optionally, enter a parameter description.
Enter a default value for the pattern and enter the precision value.
Click
OK
.
To choose an existing parameter for the port name, perform the following steps:
Click
Browse
.
In the Assign Parameter dialog box, choose a parameter.
Optionally, create new parameters or edit parameters from this dialog box.