Selected Orders Count - Constraint Rules

Hi,
I want to constraint selected orders count

the number of count is 2, like i mark it

i want to run the rules if the selected order count = 1
i have use this constraint = [=‘{SELECTED ORDERS}’.indexOf(‘,’)] ; but it didn’t work

can you help me guys?
Thank you

{SELECTED ORDERS} = Order Id

Try:
{QUANTITY} Equals 1

It’s work!
Thank you!

1 Like