Skip to main content
Skip table of contents

Business Rule: Filename parsing for product codes

Goal: Looks for a Product Code in the Filename (needs to be at the beginning and 14 char long, needs to start with either F-, G- or V-). If found the Product tag gets assigned.

Condition

  1. For images only

  2. MatchRegexCondition produces a dictionary of groups matching in the regex (key could be name or number), this is the input to the transformation.

Transformation

  1. Transformations executed on the input

    1. TakeDictionaryValue takes the "product" group's value from the input ($parsed_productCode$)

    2. LookupCache takes this value and makes a lookup on the product list (from a cache created on this list) and produces the _refId of the matching list item

Action

  1. This refId can then be used in the AssignLayerAction

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.