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.
To
define an action hook, use the Actions grid.
- Start the Designer.
- In the ClearQuest Schema Repository Explorer view,
expand the Record Types or Record Types
- Stateless folder.
- Select and expand the record type.
- For state-based record types, expand the States
and Actions folder.
- Expand the Actions node and double-click
on an action to open the Record Actions grid.
- In the Record Actions grid, right-click in a column
and select Scripts.
- Select a scripting language. The Scripts editor
starts.
- Define the hook using the Rational ClearQuest API.
The hook will be compiled when you validate the schema, and any syntax
or grammar errors will be marked.