Rule Ticket Constraint Condition Help

Hi,

I am trying SambaPOS from last week and i need help to understand Constraint work with Rule’s Selected Action. I wanted to create if,else,contains like condition to check if ticket entity match or ticket state match like below, But i dont have any clue regarding it. Can someone please help me sample example to understand it.

Thanks

I suggest you to have a look at some of the tutorials on the forum. Read through them and and even try implementing some if you like… That way you can learn more about how SambaPOS works and how to use rules and actions.

1 Like

You’ll use printer tags to fetch data and use JScript syntax for the expression. For example something like

'{ENTITY NAME:Customers}' == 'Customer 1'
1 Like

@emre Thanks It was very helpful.