Editing action hooks

You can edit an existing action hook with the Script editor in the Designer.

Before you begin

The Designer provides a different Script editor for VBScript and Perl, and notes the editor type in the title bar of the Rational® ClearQuest® window. Verify that you are in the correct editor before writing your code. If you double-click a cell that has scripts written in both languages, both script editors start.

About this task

To edit an action hook:

Procedure

  1. Start the Designer.
  2. In the Workspace, expand Record Types and expand the desired record type.
  3. Expand States and Actions and double-click Actions to display the Actions grid.
  4. Double-click in the cell that contains the hook you want to edit. The Script editor starts.
  5. Edit the hook. The calling syntax for that hook is added to the Script editor. The calling syntax cannot be edited.
  6. When you are finished, close the Script editor.