...
Open Settings
Open Business Rules
Add a new business rule
Name: Check Title for Product Name
Trigger: Update, Content, Main doc
Condition: String Contains Condition
Code Block language json Fieldpath: usageInformationfileMetadata.distributionChannelfilePath Values to match: ["ProductXYZ", "ProductABC"] Case sensitive: False Value to Store: "NewProductName" Store in: variableForProductName
Transformation: none
Action:
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 |
fieldPath | JSON path to the field. |
valuesToMatch | A list of string value that will be checked if at least one of them is contained in the string value identified by the FieldPath. |
valueToStore | Optional value to be stored in the variable identified by StoreIn. It can be simple value or a complex object. |
caseSensitive | Decide if the StringContains condition should be processed case sensitive. |
storeIn | Optional variable name to store the ValueToStore in |