This article will walk you through some of the common use cases you could implement business rules. 

Click here to understand how to configure a business rule. 

  1. Global business rules are only viewable for workspace admins 

  2. Workspace admins can create business rules at a workspace level.

Order of execution: The global rules execute first, followed by the workspace-level rules, to allow for the workspace-level rules to take precedence over the global rules.

  1. Showing/ Hiding fields based on Ticket Type 

    Oftentimes you’ll have specific fields that are shown for Incidents and another set of fields for Service Requests. The Ticket Type field is only available when you are editing a Ticket, so this field only shows up when
     you’ve created a rule that’s specific to the Edit Form. Here’s an example of how to set this up:-

  1. Actions based on specific Requested Item

    There are times when you’d need to mandate/show a Ticket field only if a certain Requested item is part of the Service Request. You can accomplish this by leveraging the Current Ticket based condition in the use case below, where the Agent has to fill in a field called Onboarding Summary before Resolving a ticket that contains an Employee Onboarding service item:-

  2. Mandating specific levels for a dependent field like Category

    There are specific use cases that require you to mandate Sub Category, allowing the Item field to remain empty. The Mandate action doesn’t support mandating a specific level, however, this can be accomplished by setting up a simple validation rule by making use of the “Is Empty” operator. Here’s an example below:-

  1. Prevent Agents from directly Closing a Ticket

If you’d like to prevent agents from directly closing tickets for a ticket needs to be resolved first before being auto closed after a specific amount of time using a Supervisor Rule, you can set up the rule below.

  1. Mandate the Additional Details field before an Agent moves a Ticket to the Pending State

  2. Ticket Transitions: Prevent a ticket from being marked as closed if it’s awaiting approval. 
    Here the Current Ticket status captures what status the Ticket is currently in and Ticket Form status captures what the agent is trying to move the status to. 

  3. Prevent Updates to Ticket Properties for Closed Tickets: Another Ticket lifecycle use case, where updates to ticket properties should not happen once a ticket is closed. 

    Set and Remove Options
    The Set and Remove Options enhancement can be used to restrict the dropdown choices for a particular condition. You can use the Set and Remove options to restrict choices of default dropdowns, custom dropdowns, dependent fields and lookup fields on Tickets such as Agent, Department and Groups. 
    Below are a few use cases that show the functionality:

  4. Set Options- Displaying the Relevant Categories based on Location/Department/Group using Set Options
    For a particular set of requester's location, department and group you can restrict the categories to be shown in the form.

  5. Remove options- Removing the Resolved and Closed statuses from the status dropdown of a ticket that is awaiting approval using Remove option.
    Restrict the dropdown choices in the status field when a ticket is awaiting approval.

  6. Mandate and Non-Mandate asset associations conditionally for tickets based on categories, statuses etc.