What is considered bad quality on an alarm?

In the documentation, the explanation is lacking a bit.

  • Bad Quality BadQuality - Active if the tag value becomes a bad quality, for example, on communication loss.

Does this include Bad_Disabled or Uncertain Values? Does it alarm on anything that is not a 'Good' status? I am primarily trying to catch Uncertain values. Would just like some clarity on what the expected bahavior is for this alarm selection?

From experience and testing, alarms that are set to go off on “Bad Quality” will go off if the quality of the tag is “Uncertain.” Expressions has a useful function to use to test for it, forceQuality(). Alarms also will not go off for any tags that are disabled, no matter the alarm mode.