Copying and Pasting a Script Component

You can copy a script component from a rule or template and paste it into the same, or a different, rule or template. You can also copy the script within a script component and paste it into the same, or a different, script component. You cannot copy a script component and paste it into another script component or another component type.

To copy and paste a script component::

  1. In System View, select the rule or template that contains the script component.
  2. In the Rule Designer or Template Designer flow chart, right-click the script component, and then select Copy.

    Note:

    If the component you want to copy is shared, you can right-click the script component, and select Copy Reference to copy the reference of the shared component instead of copying the component itself. (See Copying and Pasting the Reference to a Business Rule Formula or Script Component.)

  3. Do one of these tasks:
    • To paste the script component into the same business rule or template, right-click the location in the flow chart where you want to paste it, and select Paste.

    • To paste the script component into a different business rule or template, open the business rule or template into which you want to paste the script component, right-click the location in the flow chart where you want to paste it, and select Paste.

  4. Click Save button.