You can add Access Control, Initialization, Validation, Commit,
and Notification hooks to an action.
About this task
To
add an action hook:
Procedure
- Start the Designer.
- In the Workspace, expand Record Types and
then expand the desired record type.
- Expand States and Actions and double-click Actions.
- In the 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
- To compile the script, click .