Do you really mean CI, as in CMDB synced CI or Discovery node? An application built how? Patterns, SAAM, CAM?
I wanted to set an attribute called "CanadaLife_Map" and set it to yes for our CAM models so we can use it to query specific CAM model.
If you mean metadata in the generated pattern that is associated the the Pattern node not the BAI. If you want to check for BAIs created by CAM why can't you just look at the BAI type?