Deleting a Script Component

You can delete a script component only if it is not being used in any rules or templates. To see if any rules or templates are using the script component, you can show its usages. (See Showing the Usages of Formula and Script Components.) If a script component is used in a rule or template, and you no longer need to use it in that rule or template, you can remove it from the rule or template, and then delete the script component. You can also delete the rule or template, which deletes the script component within it.

To delete a script component:

  1. In System View, right-click the script, and then select Show Usages.
  2. Ensure that no rules or templates are using the script component

    If any are, you must remove the script component from them. See Removing a Component from a Flow Chart.

  3. Right-click the script again, and then select Delete.