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 DevOps Plan Schema API.

About this task

To define an action hook, use the Actions grid.

Procedure

  1. Start the Designer.
  2. In the Workspace, expand the Record Types folder or the Record Types - Stateless folder.
  3. Select and expand the record type.
  4. For state-based record types, expand the States and Actions folder. Double-click Actions.
  5. 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.
  6. Select a scripting language.
    The Scripts editor starts.
  7. Define the hook using the DevOps Plan Schema API.
  8. When you finish editing a scripted hook, click Hooks > Compile to check the syntax of your code.