You can add Access Control, Initialization, Validation, Commit,
and Notification hooks to an action.
About this task
To
add an action hook:
- In the ClearQuest Schema Repository Explorer, expand the Record
Types folder in your schema and then double-click on a record
type. The record type editor opens.
- Click the Actions tab to view the Record
Actions grid.
- In the Record Actions grid, click in the column that corresponds
to the hook that you want to add and click or Perl.
The default scripting language is VBScript for Windows and Perl for
the UNIX system. For more information, see Scripting languages.
If
you are adding an Access Control hook, you can also select All
Users to provide access to all users or select User
Groups to provide access to users of specified user groups. If
you select User Groups, verify that the groups are
subscribed to all databases the schema uses.
If Instant Editing Mode
is enabled, the Script editor starts. If Instant Editing Mode is disabled,
double-click the cell to start the editor.
- Edit the hook. The calling syntax for that hook is added in the
Script editor. The calling syntax cannot be edited