English Boards > V3 Development

Rules Custom Constraint

(1/3) > >>

JohnS:
Emre,

How do you use the Custom Constraint field in Rules?
I need to make a rule execute only if a customer has been selected.

emre:
It depends. Which rule is that?

JohnS:
Order Added to Ticket.

I am working on cash discounts based on the item/item group selected but only if a customer has been selected. So I need to check the value of a variable I created with Update System Settings.

emre:
You can use it on custom constraint area like

{:MySetting} == 1

Rule executes if MySetting equals 1;

emre:
Another Alternative might be using Ticket States

Ticket.IsInState("Promotion")

Rule executes if Any ticket state have Promotion Value.

Navigation

[0] Message Index

[#] Next page

Go to full version