Rule specification assets > Rule statement configuration > Cut and paste operations and rule statements
  

Cut and paste operations and rule statements

Copy a rule statement to reuse the rule statement logic in the same rule set or in another rule set. Move a rule statement that belongs in another rule set. You can copy or move a rule statement to a rule set in the same rule specification or in another rule specification.
You might copy a rule statement to create a rule statement based on the logic of the rule statement that you copy. You might move a rule statement when you determine that the rule statement applies to a different business rule requirement.
When you copy or move a rule statement to another rule specification, you also copy the inputs that the rule statement uses. The rule statement that you copy must be valid within the destination rule set. For example, the rule statement and the inputs on the rule set must be compatible.

Copying a rule statement within a rule set

To create multiple similar rule statements in a rule specification, copy the rule statement. You can copy and paste a rule statement within the same rule set or to another rule set. After you copy the rule statement, update it to reflect the business rule logic.
Move a rule statement when you determine that the rule statement belongs in another rule set.
    1Open the rule specification.
    2Select the rule set that contains the rule statement to copy or move.
    3Select Rule Logic.
    4Select the rule statement. If the rule statement contains more than one condition, select the first line of the rule statement.
    5Open the actions menu.
    Note: Find the actions menu option beside the Action options.
    6Select a destination rule set for the rule statement.
    You can create a copy of a rule statement in the current rule set or in another rule set.
    7Select a rule statement in the rule set.
    8Open the rule statement context menu, and select Paste Rule Statement.
    The rule statement that you copied or moved appears in the rule set.
    9Verify the position of the rule statement in the rule set.
    If necessary, move the rule statement up or down in the list of list of rule statements.
    10Save the rule specification.

Copying a rule statement to another rule specification

When you create multiple rule specifications with similar logic, you can copy the rule statements from one rule specification to another to save time. After you copy the rule statement, you might update it to reflect the business requirements of the current rule specification.
Move a rule specification when you determine that the rule set belongs in another location.
    1Open the rule specification.
    2Select the rule set that contains the rule statement to copy or move.
    3Select Rule Logic.
    4Select the rule statement. If the rule statement contains more than one condition, select the first line of the rule statement.
    5Open the actions menu.
    Note: Find the actions menu option beside the Action options.
    6Click Explore.
    7Select a destination rule specification for the rule set.
    The rule specification opens in the Configuration tab.
    8Select a rule set, and select Rule Logic.
    9Select a rule statement in the rule set.
    10Open the actions menu on the rule statement, and select Paste Rule Statement.
    The rule statement that you copied or moved appears in the rule set.
    11Verify the position of the rule statement in the rule set.
    If necessary, move the rule statement up or down in the list of list of rule statements.
    12Save the rule specification.
    If you moved a rule statement from another rule specification, save both rule specifications.