How do SMOC Expressions work in decision elements?
Category: Content & languages
Decision edges use SMOC Expressions that score numeric outcomes with + − * / and parentheses. The highest positive score wins; ties pick randomly. If no edge scores positive, the flow can stall—add a default like 0.5.
Variables use ${name=arg} form (for example ${answer=34}) and cover answers, geo, device, UTMs, and more. Expressions are not ICU message templates.
Syntax guide: Understanding the syntax for SMOC expressions.