Search the Community
Showing results for tags 'attribute'.
In order to maintain state in Plastic I'm attempting to use multiple attributes; It's easy enough to apply multiple attributes to a single branch, but I can't seem to get a find command to work. Unless I'm missing something there is no obvious way to get a cm find where clause to feature more than one attribute/attrvalue combination. In my case I have a branch with the following two attributes and values: Status = 'Deprecated' TestFlag = 'TRUE' This is only thing that seems reasonable to try, but does not work (not surprised really because there is only a single, unqualified "attrvalue") >cm find branches where attribute = 'Status' and attrvalue = 'Deprecated' and attribute = 'TestFlag' and attrvalue = 'TRUE' >Total: 0 Obviously I can test for one attribute individually and it works just fine. >cm find branches where attribute = 'TestFlag' and attrvalue = 'TRUE' >Total: 1 >cm find branches where attribute = 'Status' and attrvalue = 'Deprecated' >Total: 1 Isn't this a common thing? Is this not possible? Furthermore, I would really like this for use in the branch inclusion/exclusion/format rules! Thanks, Ryan