QuestionQ11

VerifiedJourney Orchestration

A customer journey specialist must create a condition path in a journey to verify whether at least one product category in the event array that triggered the journey includes the word "furniture" (case-insensitive). In the expression editor:

  • SKU attribute: @\{TriggerEvent.productListItems.at(0).SKU\}
  • Product category attribute: @\{TriggerEvent.productListItems.at(0)._tenant.productCategory\}

How should the condition be modified?

Explanation

When filtering an event collection with all(), currentEventField represents the current array item. Applying containIgnoreCase to currentEventField._tenant.productCategory filters product-list items whose category contains furniture regardless of case; count(...) > 0 confirms that at least one matching item exists. currentDataPackField is reserved for data-source collections.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!