Configuring triggers

You can configure triggers to automatically perform actions when users change files and code reviews. For example, you can add a trigger to email users when a file is assigned to them or prevent users from checking out files in specific workflow states.

1. Choose Tools > Administration > Triggers.

The Triggers dialog box opens. The Summary field displays the files that the trigger applies to, the events that cause the trigger to run, and the actions to perform if the events occur.

Note: If a trigger includes more than one instance of an action, the number of instances is displayed next to the action. For example, Email (3).

2. Select an Action to filter the trigger list by action. You may want to select an action if the list includes a large number of triggers.

3. Click Add to create a trigger. See Adding triggers.

4. Select a trigger and click Edit to change it. See Editing triggers.

5. Select a trigger and click Duplicate to duplicate it. See Duplicating triggers.

6. Select a trigger and click Disable to disable it. See Disabling and enabling triggers.

Tip: Select a disabled trigger and click Enable to enable it.

7. Select a trigger and click Delete to delete it. See Deleting triggers.

8. Click Close when you finish.