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
For images only
MatchRegexCondition produces a dictionary of groups matching in the regex (key could be name or number), this is the input to the transformation.
Transformation
Transformations executed on the input
TakeDictionaryValue takes the "product" group's value from the input ($parsed_productCode$)
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
This refId can then be used in the AssignLayerAction