Cutting, Copying and Pasting a Rule from One Decision Table to Another
You can cut or copy and paste one or more rules from one decision table to another. This only applies if the rules do not contain any errors.
At least one or more target rules must be selected.
The number of the selected target rules must be less than or equal to the number of the source rules.
The selected target rules must be contiguous.
The number of columns in the target decision table must match the number of columns in the source decision table.
The data types of the condition or results in the target decision table must be compatible with the data types of the condition or results in the source decision table.
The dimension of the data types of the condition or results in the target decision table must match the dimension of the data types of the condition or results in the source decision table. For more information about the dimension of data types, see
About Data Types.
To cut or copy and paste rules from one decision table to another:
2. Select the source rule(s) in the source decision table.
3. Do one of the following:
a. Select or from the toolbar. b. Right-click and select Cut or Copy from the context menu. c. Press CTRL+X (cut) or CTRL+C (copy).
4. Select the target rule(s) in the target decision table.
5. Do one of the following:
a. Select , (paste before, only if you selected a single target rule) or (paste after, only if you selected a single target rule) from the toolbar. b. Right-click and select Paste, Paste Before (only if you selected a single target rule) or Paste After (only if you selected a single target rule) from the context menu. c. Press CTRL+V (paste).
Note:
Pasting is disabled if any of the above listed criteria is not met.
If you selected the
Paste option, the target rule(s) are overwritten with the values from the source rule(s). If you selected the
Paste Before option, the source rule(s) are inserted before the selected target rule. If you selected the
Paste After option, the source rule(s) are inserted after the selected target rule.