Copying and Moving a Rule Statement to a Different Rule Specification
Copying and Moving a Rule Statement to a Different 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. Or, you might apply the rule statement to different inputs.
Move a rule specification when you determine that the rule set belongs in another location.
Open the rule specification.
Click
Edit
.
Select the rule set that contains the rule statement to copy or move.
Select
Rule Logic
.
Select the rule statement. If the rule statement contains more than one condition, select the first line of the rule statement.
Open the context menu.
To copy the rule statement, select
Copy Rule Statement
.
To move the rule set, select
Cut Rule Statement
.
Find the context menu option beside the Action options.
On the Analyst tool toolbar, click
Open
.
Select Rule Specifications from the list of library assets.
Select the name of the destination rule specification for the rule set.
The rule specification opens in the Design workspace.
In the open rule specification, click
Edit
.
Select a rule set, and select
Rule Logic
.
Select a rule statement in the rule set.
Open the rule statement context menu, and select
Paste Rule Statement
.
The rule statement that you copied or moved appears in the rule set.
Verify 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.
Save and close the rule specification.
If you moved a rule statement from another rule specification, save and close both rule specifications.