So ashamed to ask this question since I have been here “part time” for a year still don’t know how to write expressions and constraints right
I want to add a constraint to fire this rule ONLY if all 3 conditions are met
Remaining Amount equals 0
and
Deliverer has been selected
and
it is a Delivery Ticket
I am modifying the setup from Advanced Delivery Configuration Task
Entity Types: Deliverers
Entity: Tom, John, In House Drivers, To Be Picked Up, Uber Eats…
MATCHES ANY… Any one single constraint is matched.
MATCHES ALL… Every single constraint required
MATCHES… is the only one which I would say isnt fully obvious… its a mix of the two, constraints of diferent types are all required but multiple constraints of the same ‘factor’ are treated as any ie.
ENTITY = A
ENTITY = B
TICKET TAG = X
Would be ( ENTITY A + TAG X ) OR (ENTITY B + TAG X), TAG X is required but ENTITY can be A or B