Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Working with Decision Tables | Modifying a Decision Table | Cutting, Copying and Pasting a Rule within the Same Decision Table
 
Cutting, Copying and Pasting a Rule within the Same Decision Table
You can cut or copy and paste one or more rules within the same decision table. This only applies if the rules do not contain any errors.
Keep the following points in mind when pasting:
*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.
*To cut or copy and paste rules within the same decision table:
1. Open the decision table as described in Opening a Decision Entity.
2. Select the source rule(s).
3. Do one of the following:
a. Select The cut icon or The copy icon from the toolbar.
b. Right-click and select Cut icon Cut or Copy icon Copy from the context menu.
c. Press CTRL+X (cut) or CTRL+C (copy).
4. Select the target rule(s).
5. Do one of the following:
a. Select The paste icon, The paste before rule icon (paste before, only if you selected a single target rule) or The paste afterrule icon (paste after, only if you selected a single target rule) from the toolbar.
b. Right-click and select Paste icon Paste, Paste before rule icon Paste Before (only if you selected a single target rule) or Paste after rule icon 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 icon Paste option, the target rule(s) are overwritten with the values from the source rule(s). If you selected the Paste before rule icon Paste Before option, the source rule(s) are inserted before the selected target rule. If you selected the Paste after rule icon Paste After option, the source rule(s) are inserted after the selected target rule.