Best Practice: Event expressions should not compare event descriptions with hard-coded strings


What does this best practice check for?

Many management packs contains workflows that are based on the presence or lack of certain event in the event log. It is typical for these workflows to use the information contained in the event log context as the corresponding descriptions in the management pack. As a best practice, usage of event descriptions should not be hardcoded, and should use parameter references.

Why is it important to follow this best practice? What is the impact of not following this best practice?

Using hard-coded content in your management is a bad practice of globalization. While your management pack will work on machine with an English locale, machines with a non-English locale will still show English text because it has been hard-coded. This creates customer dissatisfaction and a poor experience for non-English customers.