Business Rules 10.7 | webMethods Business Rules Web Help | webMethods Rules Development Help | Global Functions Overview | Cutting, Copying and Pasting a Condition Value or Result Value within the Same Decision Entity
 
Cutting, Copying and Pasting a Condition Value or Result Value within the Same Decision Entity
You can cut or copy a single condition value or result value and paste it into another condition value or result value of the same decision entity.
Keep the following points in mind when pasting:
*The NULL constant can be pasted into any condition value or result value.
*The EMPTY STRING constant can only be pasted into a condition value or result value of data type string.
*When pasting a literal value into a condition value or result value, the data type of the literal value must be compatible with the data type of the condition value or result value. The Paste option is disabled in case of precision loss. This can occur if you try to paste a literal value of the data type double with non-zero mantissa into a condition value or result value of the data type integer.
*When pasting a parameter element into a condition value or result value, the data type of the parameter element must be compatible with the data type of the condition value or result value. Note that there can be precision loss at runtime.
*When pasting a parameter element into a condition value or result value, the dimension of the data types of the parameter element must match the dimension of the data type of the condition value or result value. For more information about the dimension of data types, see About Data Types.
*When pasting an action into a condition value or result value, the data type of the action's output value must be compatible with the data type of the condition value or result value. Note that there can be precision loss at runtime.
*When pasting a function into a condition value or result value, the data type of the function's return value must be compatible with the data type of the condition value or result value. Note that there can be precision loss at runtime.
*When pasting into an assignment result value, the operator will be set to =.
*When pasting a numeric condition value into a string condition value, the operator does not change if the operator in the system clipboard is = or !=. Otherwise, it is set to =.
*A range condition value can only be pasted into a value that supports range conditions.
*To cut or copy and paste a condition value or result value within the same decision entity:
1. Open the decision entity as described in Opening a Decision Entity.
2. Select the source value.
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 value.
5. Do one of the following:
a. Select The paste icon from the toolbar.
b. Right-click and select Paste icon Paste from the context menu.
c. Press CTRL+V (paste).
Note:
Pasting is disabled if any of the above listed criteria is not met.