Editing and cloning ticket triggers
You can edit and clone ticket triggers. Cloning a ticket trigger creates a copy that you can modify and use for some other purpose. If your ticket trigger notifies users, the notification body text will reset if you change the notification destination.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Click the name of the trigger you want to edit.
- Modify the name, description, conditions, and actions as needed.
- When you are finished, click Save.
To clone a ticket trigger
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Click the name of the trigger you want to clone.
- At the top of the page, click Actions and select Clone.
A copy of the trigger is created and automatically opened for editing.
- Modify the name, conditions, and actions of the new trigger as needed.
- Click Save.
Reordering triggers
You can reorder your list of ticket triggers to designate the order they're fired in. Ticket trigger order is important. Remember that all of your active ticket triggers run each time a ticket is created or updated and actions in one ticket trigger can affect the actions in another. See Understanding when triggers run and fire.
- Changes or updates to ticket values. Any triggers that change ticket values, such as status, priority, or any other field value, should be listed first. These triggers can impact ticket assignments and notifications.
- Ticket assignments. Triggers that assign tickets to groups or individual agents should be listed after triggers that update any other value on the ticket.
- Notifications. Triggers that send notifications to users or targets should be listed last. This is because you want the system to make any necessary changes before you send out email notifications.
You can use trigger categories to reorder multiple ticket triggers at the same time. See Reordering trigger categories and Organizing ticket triggers within categories.
Updating the order of your ticket triggers is not reflected as a change in the revision history. It is, however, reflected in the trigger's last updated timestamp.
To reorder ticket triggers using drag-and-drop
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Click Edit order in the upper right.
You'll see a list of ticket triggers in the default sort order.
- Select the ticket triggers you want to move.
- Click and hold the drag-and-drop handle () for the ticket triggers you want to move.
- Drag the triggers into position and release the handle. Repeat as needed to reorder your ticket triggers list.
- Click Save.
Searching for ticket triggers
Admins and agents in custom roles with permission to manage business rules can search for ticket triggers and filter the list based on a number of factors. You can define a simple filter based on a single criteria such as name, description, condition, or action, or you can create advanced filters based on multiple filters.
For more information, see Searching triggers.
Sorting the list of triggers
By default, ticket triggers are sorted by position (the order in which they fire). You can change the sort order by clicking the column headings that appear on the triggers page. You can sort based on a number of properties, including:
- Name
- Last updated
- Date created
- Triggered (last 1 hour, last 24 hours, last 7 days, or last 30 days).
Sorting your ticket triggers doesn't affect the order your triggers run and fire in. If you want to select a new order to fire your ticket triggers, follow the steps in Reordering triggers.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Click the column heading you want to use to sort your ticket triggers.
The triggers are reorganized based on that property.
- Click the column heading again to change from ascending to descending order.
- Click the column heading a third time to return to the default sort order.
- To return to the default sort order, click the Undo sort button.
- You can increase your sorting options by changing some of the column headings that appear in the list. At the top of the ticket triggers list, click the columns icon () and then select and deselect columns as needed.
Deactivating ticket triggers
If you decide that you no longer need a ticket trigger, you can either delete it or deactivate it. Deleting a trigger means that it's gone and can't be retrieved. If you may want to use a trigger again in the future but don't currently need it, you can deactivate it. Deactivated triggers are found by selecting Inactive from the Status drop-down at the top of the ticket trigger list, and can be reactivated if needed. If you reactivate a ticket trigger, it won't retroactively run on past tickets.
You can use ticket trigger categories to delete multiple triggers at the same time. See Deleting ticket trigger categories.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab and locate the trigger you want to deactivate.
- Click the options menu icon () and select Deactivate.
The trigger’s status is changed to Inactive.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Check the box next to each ticket trigger you want to deactivate and then click Deactivate at the bottom of the page.
- In the confirmation dialog, click Deactivate.
Deleting ticket triggers
If you decide that you no longer need a trigger, you can either delete it or deactivate it. Deleting a trigger means that it's gone and can't be retrieved. Triggers must be deactivated before they can be deleted.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- If the trigger you want to delete is still active, follow the steps to deactivate the trigger.
- In the Status drop-down at the top of the triggers list, select Inactive.
- Next to the trigger you want to delete, click the options menu icon () and select Delete.
If necessary, click the expander (>) next to a category to show triggers within a category.
- In the confirmation dialog, click Delete trigger.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
-
Select Inactive from the Status drop-down at the top of the trigger list.
- Check the box next to each trigger you want to deactivate and then click Delete at the bottom of the page.
- Click Delete in the confirmation dialog.
Activating ticket triggers
Usually, new triggers are activated automatically. However, you can choose to create them as inactive triggers and then activate them at a later time. Additionally, there are some cases when you might need to deactivate and then reactivate a trigger.
To activate a trigger
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- In the Status drop-down at the top of the triggers list, select Inactive.
- Next to the trigger you want to activate, click the options menu icon () and select Activate.
If necessary, click the expander (>) next to a category to show triggers within a category.
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- In the Status drop-down at the top of the triggers list, select Inactive.
- Check the box next to each trigger you want to activate and then click Activate at the bottom of the page.
Viewing the ticket trigger revision history
If you're on an Enterprise plan, changes you make to a ticket trigger can be viewed in the trigger revision history.
The revision history displays:
- The currently-viewed version's configuration
- Who made the changes
- When the change was made
- The changes made to the trigger in the displayed revision (optional)
To view the ticket trigger revision history
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Triggers.
- Click the Tickets tab.
- Click the trigger you want to view, then click Revision history, located below the trigger title.
This opens the ticket trigger history page.
- On the trigger history page, you’ll see all the available versions in a sidebar. Click the version you want to view.
- From here, you can:
- Toggle to show or hide the changes made to the selected version
- View the read-only configuration of the selected version
- Click another version to view
- Return to the edit page
For more information, see the viewing a ticket trigger's revision history video.