Using attributes with triggers
As you design triggers to enforce development policies, you may find it useful to use attributes. An attribute is a name/value pair. An attribute type defines an attribute. You can apply an attribute to an object, such as a stream or an activity, or to a version of an element. In your trigger scripts, you can test the value of an attribute to determine whether to fire the trigger. For example, you could define an attribute type called TESTED and attach a TESTED attribute to elements to indicate whether they had been tested. Acceptable values would be Yes and No.