Skip to main content

TAG_EXISTS

Check whether a named tag is present on a resource.

Return Type​

Boolean.

Inputs​

name is a required Text or Bytes expression. Text tag names match without case sensitivity; Bytes names preserve case. Optional scalar tagsJson selects the tags JSON field and defaults to CA10__tagsJson__c.

Syntax and Example​

TAG_EXISTS:
name:
TEXT: "Owner"

Behavior and Missing Values​

The result indicates tag presence, rather than whether the tag value meets a requirement. To validate the value, retrieve it with a tag value operation and compare it separately. Test absent tags explicitly.