Skip to main content

iiQ Events - Rule Engine

The object that powers event reservations is the rules engine that routes approvals, updates events, and assigns work orders to the correct team or individual. This document will not go in-depth on the Rules engine in general but will instead focus on changes related to the Events product and supporting the management of district events.

There are two areas where Events come into play for Rules: ticket rules and event rules.


“Out of the Box” Rules Available

Ticket Rules

Create Event on Submission of the Event Request Ticket
This default rule creates an event immediately when an Event Reservations ticket is requested. This is under the trigger Created.

When the Event Request Ticket is Approved, Set Event Status to Approved

This default rule will set the event status to Approved. Admins can edit the event status if needed.

When the Event Request Ticket is Denied, Set Event Status to Denied

This default rule will set the event status to Denied. Admins can edit the event status if needed.

Event Rules

When an Event is Canceled

Cancel all related Tickets. Unable to delete or make changes to this rule.

When an Event is Deleted

Delete all related Tickets. Unable to delete or make changes to this rule.



Events Rule & Triggers

A new trigger category for Events has been added alongside existing categories like Tickets, Assets, and Users. This allows for Rules to be triggered when various activities occur for Events specifically.

Hup8YcEFg5F2RHHShLU_RYdyweUXu9yDMj4Nl8DxqdK2qHZkl6y-Hj8_hjiiC1HSjIq-Z87Z5GhjijaiJBQGXgmXCMEtKQ8XbOkJMwYKDXbKUwopOhNpxZwC8YmH77ePWg2QdiRcwJdwssumHyRqChk

Below are the different triggers for Event Rules:

Trigger

Description

Created

Rule will fire when an Event is created such as a requestor creating a new Event Ticket

Updated

Rule will fire when an Event is updated such as an Event’s time or Room being updated

Canceled

Rule will fire when an Event’s status is updated to Canceled

Approved

Rule will fire when an Event’s status is updated to Approved

Denied

Rule will fire when an Event’s status is updated to Denied

Deleted

Rule will fire when an Event’s status is updated to Deleted

Actions

Below are the different actions based the Event Triggers:

Trigger(s)

Action

Use case

Created, Updated, Approved, Canceled, Denied

Set event status

Can set the event status to automatically approve Events at certain Locations or when a Ticket has been approved to communicate the status to the requestor

Created, Updated, Approved, Canceled, Denied

Create a Ticket

Automatically trigger work orders (i.e. Ticket Templates) when an Event is Approved or a particular Event type is created

Canceled

Cancel related tickets

The rule will be fired each time an event is canceled. Therefore, the tickets that are associated with an Event will be canceled when the event is canceled. This rule also applies to associated Subtickets and Subtasks. As a result, when the Parent Ticket is Canceled either through the rules engine or manually, associated subtickets and subtasks are canceled.

Deleted

Delete related tickets

The rule will be fired each time an event is deleted. Therefore, the tickets that are associated with an Event will be deleted when the event is deleted.

Filters for Rules

When either a ticket or event rule is created, it will be fired each time a ticket/event is created, UNLESS filters are applied. All existing Ticket triggers are still present in the Event product. The Events product was updated so that all filters that exist for Events are available to select in Event Rules.

k7Ko2egAnRmSVpjHeVOX3SWyoNncQc1L6n8kxXYwun5Q5y_cvNaeIfwGphykVHIWHqqsN8qzK2bAbZG00FW2MqLHBOaoZZfjfaW_nLkjM8jftZpEJppH1E2GkqTyYFmk59FOUwicKkLlxlonOItgh88

If you are using the "When Updated" trigger, you must apply the "When field is Updated" filter to specify which particular field's update will activate this rule.

The ‘When field is updated’ condition filter can be used in addition to rules to trigger specific actions only when a designated event field is updated.

AD_4nXebGqEfGKmtvDPlC4Xg7bW58hKyIgJKch2olMsd1b0xkv_t_3OsxIt6sxhZNxwvueSmyOa94rCtpYmDArDS5mrqeKJ9XYuoc6I-lat2Cv1JWAtS9WPdDpoy149RgPMhL_LEa_3z0w?key=gy0D_rL13u0HtnnMRijoxZ8E

You can select any event field, such as Custom Field.

AD_4nXfTIzmgqCTABbliA_cRVOeQjgU7HLyIPMtykSX1n9qTV9FqRDdwO3bk7paMuG_jNrkdKRqXiwCTalqBJF-7RaS6aTiX3qYOMjyAPo1YWT6Xp7upkN-dCGGsvYJxRzrmbmyA9hQu?key=gy0D_rL13u0HtnnMRijoxZ8E

Then you can select any action triggered when the Custom Field on the event is updated.

AD_4nXdug05n7EhgUuU3J-gEagmZ7JMnxeZ7S4_dpzJZ-ob9Y-3RqYVGV6K6GCSsdW55OnlkOQdO0qcKmr1m6Wn_b_eWC44toUzOlhvf_n_tZsIorwCLPrYvuP0fPg8KzV4wmeI4sWnF4A?key=gy0D_rL13u0HtnnMRijoxZ8E



Creating a New Rule

To begin, select Tickets and then select the Trigger condition on the left of the Rules page. Next, click Create New Rule in the top right corner.

In the Rule Properties window, you will first name the rule, and you can add a description of the rule explaining what the rule does and why. Once saved, any user who can see the Rule will also be able to see the description if they open the Rule Details.

The rule description is available for any rule created in any product and rule type.

You can hover over a Rule from the main Rule page to see the full description without clicking into the Rule. If no description is available, the tooltip will not show.

There is a limit of 1024 characters for the text that appears in the hover.

AD_4nXegXrv-xoiU4FqtLdE4UI145xC4wuUWR8VYJ2TnnhIZ5JTe7Ha_DDeO7X0hXbi7kDATV2LROnEDdX4X0haQ0OqmzkKXGztr22_8F8o5wzB1KNnlY5QLtIwBZcc7biPJMa7bgDuo?key=GkGYiSY39ilnHUvmK0h-gV_F

Then, you can choose whether to enable or disable this rule and assign an expiration date.

Next, assign at least one condition to the rule. Conditions are the variables that must be met for a rule to be executed. Click the Add Filter icon to open the filter selection window, where you can quickly select what filter you’d like to apply to this rule.

Then you can add your Actions. These actions are the operations Incident IQ will perform in direct response to a condition being triggered.

AD_4nXdJcaT9Mqri1rw0P5OoNTuLlTAvcCHooAIom5ddrkrPTFo6aBG5ouRiIWqyKHZ2CY9qE0Qv6MearSwFGaInVzonamOtxDvl17mpxtQyOYLwFRGZgKKBdZxhgdjfPQpxgss746d95g?key=-IJBFWbZUPcPDDyI-slE-BMP

One example: The tickets need to be re-routed to a specific agent based on a particular location.


To finish setting up your rule, you’ll need to choose what happens after the rule is executed. By default, rules are set to continue to the following rule in the rules list. You can also make this rule an ending point for any ticket by selecting Do not process any more rules.



Search

You can search the Rules page by entering keywords that match the title of the rules. This search will include all pages within the selected trigger.

The search filters the list only to include Rules with either an exact or partial match of the keywords entered.

  • This will only search using the Rule Name.

  • The search will include inactive/deactivated rules.

  • You cannot use drag-and-drop functionality for rules while searching.

  • If you move a rule to the top or bottom, the rule is moved to the top or bottom of the total list of rules.

AD_4nXefEJoC7D36MUjAXnqG1-YSKGBzN5YYBuhowLGAVZCDJQwvXtz1gCKJjgF4zKBFFf3CNQV6yAKZIAntIjReh7wUBO0hL3YNStpGee97RrfiNYvdm6I5aUr5tXdDnflQRgywdO9Zdg?key=OIsqpgiDjCHeUFVWPAoqVFu6

AD_4nXde6XDUNsMnlCGI6wJqkketFdq5jHdAl7kwzDXi9yzxMTijq1l_MwjUmh_MxBtb5te0kNbU1GzZHvxkHbcogLnbTxP7H2LIiggc9mKP3Oa4O4aNAU7beshyX-rBjLP1wiOz9SMozw?key=OIsqpgiDjCHeUFVWPAoqVFu6

Please note that you can set the number of rules during the page's initial load within Site Options.

AD_4nXe-t3iq72ts9eomnkUcpn_y9LJ9mIdoWiEFR8X_GlRbXCjiFOKPGe7fM4OnZLE9wXNlBf_qxAiUAQBO_bRGXzzvdAbfpkFIsq7DdLtY0GDxhpkZET6fBaxsqZsD9PoQawS0lO8S?key=OIsqpgiDjCHeUFVWPAoqVFu6

At the bottom of the Rules Engine page, the number of Rules per page will default to whatever number was set in the setting above, and the page will contain the set number of rules.

AD_4nXdhqhXVwA_4ZWTY3ZKGES0wKloc65fmtIP7OkTf94lOiFqXiqsAmJog7Eh9cwMvaly3jNDh42_1BwoKd9lTzMgJdV607VUjb6mHO5Ycn_av3YU8HYI0-XazzPxJfbsY2kujbFsjbA?key=OIsqpgiDjCHeUFVWPAoqVFu6


Rule Options

You can use the Options button in the top right corner of any rule to quickly edit, copy, delete, enable/disable, and move rules to the top or bottom of the rules list.


---

Hannah Bailey - Director, Customer Engagement

Did this answer your question?