Skip to main content

TAG_VALUE_TEXT

TAG_VALUE_TEXT:
name: { name } # required
tagsJson: { tagsJson } # optional

Description

The TAG_VALUE_TEXT operation retrieves the value of a specific tag as a Text type (case-insensitive, whitespace-normalized). It returns null if the tag does not exist.

Parameters

  • name (Operation<Text | Bytes>, required):
    • The name of the tag whose value you want to retrieve.
  • tagsJson (string, optional):
    • The name of the field containing the tags in JSON format.
    • Defaults to CA10__tagsJson__c if not specified.

Return Type

Text

Example

Checking if the value of the "environment" tag is "production":

IS_EQUAL:
left:
TAG_VALUE_TEXT:
name:
TEXT: "environment"
right:
TEXT: "production"