# Get tag quality in an expression

**URL:** <https://forum.inductiveautomation.com/t/get-tag-quality-in-an-expression/42711>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [January 28, 2021, 6:03pm UTC](https://forum.inductiveautomation.com/t/get-tag-quality-in-an-expression/42711 "2021-01-28T18:03:11Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 30, 2021, 3:19am UTC](https://forum.inductiveautomation.com/t/get-tag-quality-in-an-expression/42711/11 "2021-01-30T03:19:27Z")

</div>

Just note, in v8 the quality strings have changed. Disabled becomes Bad\_Disabled

> [@Undocumented changes when migrating from v7 to v8](http://forum.inductiveautomation.com/t/undocumented-changes-when-migrating-from-v7-to-v8/38044):
>
> Just some items I’ve found during v7 to v8 upgrades that may not be documented (some of them might be) and can cause hiccups (and quite a bit of work, relatively speaking!). The official guide to upgrading from IA is [here](https://docs.inductiveautomation.com/display/DOC81/Ignition+8+Upgrade+Guide). Tags: UDT v7 property UDTParentType has been renamed in v8 to TypeId Tag quality string values have changed. E.g. EDITED FOR 8.1.10 below 8.1.10 “Not Found” ==\> “Bad\_NotFound”; “Disabled” ==\> “Bad\_Disabled”; 8.1.10 and above “Bad\_NotFound(Error description…)”, “Bad\_ErrorC…

Also, IA have always recommended against using magic strings to compare quality, as you can see, they may be changed in future versions. Although there's no alternative at the moment in the expression language if you want to check for a specific quality. `isGood({[default]path/to/tag})` should work, stealing Jordan's tag path from his post. Note: don't include the ".Quality" on the end, as the quality when reading the quality of a tag itself will always be good

---

_[View the full topic](https://forum.inductiveautomation.com/t/get-tag-quality-in-an-expression/42711)._
