# Change Tag quality in script

**URL:** <https://forum.inductiveautomation.com/t/change-tag-quality-in-script/25667>\
**Category:** Ignition\
**Created:** [June 9, 2019, 4:32pm UTC](https://forum.inductiveautomation.com/t/change-tag-quality-in-script/25667 "2019-06-09T16:32:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [June 9, 2019, 5:19pm UTC](https://forum.inductiveautomation.com/t/change-tag-quality-in-script/25667/2 "2019-06-09T17:19:55Z")

</div>

I don’t think you can set the quality directly:  
[http://forum.inductiveautomation.com/t/forcing-the-quality-of-a-tag-using-python-script/5565/2?u=witman](http://forum.inductiveautomation.com/t/forcing-the-quality-of-a-tag-using-python-script/5565/2?u=witman)  
Another option, though I don’t particularly like it, would be to create an expression tag linked to the value of Pressure\_PV when Pressure\_WB is good, but otherwise evaluating to something that results in bad quality.

---

_[View the full topic](https://forum.inductiveautomation.com/t/change-tag-quality-in-script/25667)._
