Defining action hooks
You can define hooks for an action in a record type. You can customize
action hooks by including scripts that use the Rational®
ClearQuest® API.
About this task
To define an action hook, use the Actions grid.
Procedure
- Start the Designer.
- In the Workspace, expand the Record Types folder or the Record Types - Stateless folder.
- Select and expand the record type.
- For state-based record types, expand the States and Actions folder. Double-click Actions.
- For an action in the Actions grid, select a hook type by right-clicking in one of the columns in the grid for the action and selecting Scripts.
- Select a scripting language. The Scripts editor starts.
- Define the hook using the Rational ClearQuest API.
- When you finish editing a scripted hook, click to check the syntax of your code.