Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Incident vs Validation vs Routing Rules

Updated: 08 Aug 2008 | 5 comments
MBHarmon's picture
+1 1 Vote
Login to vote

At our organization we have been using the Altiris Helpdesk Module for nearly two years. In that time we have made customizations to forms, added custom lookups, and generally taken advantage of the flexibility available in the Helpdesk module. All the while we've found the technical documentation to be adequate, but sometimes a quick guide with practical examples on using the various Admin options within the Helpdesk module can be more advantageous.

Of particular interest have always been the differences between three of the five rule types: Validation, Incident, and Routing. I have often found myself explaining the rule types again to both my manager and other members of the Change Advisory Board.

Validation rules:

Validation rules display a message when either entering or modifying an incident. These messages are often designed to prompt a worker to provide more information or make changes to the incident so it falls in line with your incident process.

Example:

One of the first things we noticed was that many of the built in queries were getting inflated numbers. Upon investigation we found that several incidents were being set to a "Closed" status while still assigned to those queues. Our ticket flow here is one where the resolving worker should be assigned that incident when it is closed.

We will want to display a message asking people to make sure they re-assign the ticket to someone before they close the incident. We could use another type of rule to "automatically" assign it to the modifying worker, but if someone is helping modify incidents it is possible it will go to another user.

Here's something of what it should look like when you're finished entering it:

The dropdowns on your conditions have the same Advanced Condition option that many other Altiris options have. Here you can use special functions within the Helpdesk module or even columns from the Workitem table that you don't see in your dropdown box.

One such example would be the validation rule we recently created to prevent the creation of incidents without a contact. However you will notice that there isn't anything readily available to allow you to specify it has to include something. Every effort to constrain the contact information to require even a specific domain did not seem to work for me. So, by doing a little bit of research we found that the [none selected] contact's id was 1. We did this by creating an incident without a contact and then temporarily modifying the tables I view on my worker report to include the contact id column. Then, by creating an advanced condition comparing the column workitem_contact_id to the number 1 we get the condition we need to display the message we have chosen.

Your condition should look a little like this when it's completed:

The final validation rule looks a little like this:

It is important to note that any validation rule you use can cause automatic ticket creation to explicitly fail. Things such as creation by e-mail box, the winuser console, and Automation rules, probably even Workflow solution (though I can not say for sure since I have not used it in production yet.) still follow the rules you have defined within the Altiris Helpdesk Module.

Using the checkbox marked "Log message to Notification Server. . ." will show these messages on your log. This log can be viewed by going to "http://<NSSERVER>/Altiris/ns/logview.aspx".

Incident Rules:

Incident Rules can be viewed in two different ways. An incident rule is essentially a way to automatically modify an incident based off a set of criteria similar to those criteria that might show a "Task" as being available or a message specified within a Validation rule.

Incident Rules vs Validation rules? Well incident rules are much the same, but will force a specific value on an incident instead of prompting for additional information or providing a list of values. Incident rules always apply only to the incident that is currently being evaluated.

My experience has been to use these sparingly. Only when I absolutely know 100% that a particular value must be set under specific conditions have I used this. It works very well for controlling status during ticket flows when you have setup custom reports that depend on those being exact.

Example:

When writing a series of reports to measure Service Level Agreement (SLA) compliance we had to make sure that we were measuring time between "Assigned" and "Closed" statuses. To do this obviously we had to make sure that when an incident was sent to a resolving team the status was set to "Assigned". After specifying what properties were to be modified, in this case status. We just had to specify under what conditions to modify it.

In the end our incident rule looked a little like this:

An important item to note would be Incident rules are evaluated and executed in the order in which they are listed when you view the list of those items. I suggest you take time to carefully consider the order in which these rules need to be evaluated and the need to "terminate" rules evaluation so you don't end up with an incident being modified in an unexpected way.

Routing Rules:

Routing rules are a specific type of Incident rule that is intended to help with the assignment of incidents. As it sounds you select a number of categories and the queue or worker that they get assigned to automatically. The usage of this type of rule is going to depend heavily on your organization's business process. Some organizations may run into issues attempting to define "ownership" of a particular category. Routing rules also allow you to define the default worker or queue an incident is assigned to if no Routing rules are applicable and --[auto]-- is selected.
These also evaluate rules in order and should be checked to make sure you are terminating the rules evaluation in the proper order. I suggest looking into the built in rules for examples of how to proceed with creating your own routing rules.

There are two other rules "types" Notify and Automation. They can be very in depth so I plan on trying to cover those two in a separate article. Just another effort to try to get real world examples out there. I know that seeing those help me I just hope that seeing these examples from our environment will help you too.

Comments

Jeanne's picture
02
Jul
2008
1 Vote +1
Login to vote

Routing Rules

After I tried this I also created a rule to close tickets that are resolved after 72 hours. We ask the user for feedback but do not receive responses and tickets sat in the resolved status for weeks. Now they close after 72 hours.

mboggs's picture
07
Jul
2008
0 Votes 0
Login to vote

Incident vs Routing rules

I use a series of Incident rules to assign items to a queue via the Owned By field. Assigned To is the worker ID and the Owned by is the queue name, such as IT Helpdesk. Our Helpdesk is being used by 5 different teams with various levels/queues in some of those teams. I also use them to determine which team should get the item, based on category. Because we have several teams, the first level category is that dept, such as MIS or IT. Then the second level will be Break-Fix, etc. I use Incident rules like a routing rule but I find they give me more flexibility to work with than the routing rules.

I had an issue with routing rules because they fire last and if an incident needed to be reassigned, but some criteria on the incident was not changed such as category, the routing rule would fire and basically the ticket went no where...looped right back due to the routing rule.

This is just another example of how to use an Incident rule. I seldom use routing rules, and only when an issue is specific enough to go to a single individual.

drew.ohara's picture
23
Oct
2008
0 Votes 0
Login to vote

Incident vs Routing rules

We also use the routing rules VERY little because they fire last. Because our company has many locations I use the incident rules as my 'routing rules' based off of the Contacts Company and the Category that is choosen (sometimes even content in the title or comment depending on how refined I need the rule to be). To restrict what company values that can be added to a contact record, I've setup a Validation rule with a list of acceptable values and it won't allow others.

Again, just another example of how you can use the rules

Tony 1776's picture
08
Jul
2008
0 Votes 0
Login to vote

Very nice write up. It

Very nice write up. It explained away some of my confusion regarding those "rules."

I think that the helpdesk manual could use some more examples of what you can do with the different rules.

Anyway thanks for your article.

JLAbuhl's picture
22
Oct
2008
0 Votes 0
Login to vote

Incident Rules

We also use incident rules to force pre-defined values for priority, urgency and impact based upon specific criteria. This helps to prevent misunderstandings when assigning the criticality of tickets at the help desk level.