Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

The String Contains Condition checks if a string (text, multiline text field) contains a specific value e.g. so users can easily check if a string (text, e.g. filename) contains parameters to use for auto tagging.

(lightbulb) The Business Rule will check if the string contains the specified value, then executes the action.

Prerequisites

Existing Content Item with text in Metadata in Picturepark.  

  1. Open Settings

  2. Open Business Rules

  3. Add a new business rule

    1. Name: Check Title for Product Name

    2. Trigger: Update, Content, Main doc

    3. Condition: String Contains Condition

      Code Block
      languagejson
      Fieldpath: usageInformation.distributionChannel
      Values to match: "ProductXYZ"
      Case sensitive: False
      Value to Store: 
      Store in:
    4. Transformation: none

    5. Action:

      1. Enqueue Create Embed Action
        Embed Name: Product Key Visual
        Format ID: Preview (which format to use)
        Conversion string: (e.g. rotate90)
        Lock delivery options: true (select if users can manipulate the embed link parameters)
        Expiration date: variable or DateTime in ISO format (2022-10-10T10.00.00Z) with or without milliseconds
        Store URL in: optional variable, which can then be assigned via Assign Value Action, or assign layer with default value

Limitations

Specific Definitions

Property

Value

kind

StringContainsCondition