Currently, numberpad value entered rule gives me the result of selecting a Loyalty Card.
Would there be a way of it returning a result if a Loyalty Card isn’t added? I got 1000 plastic cards with mag stripe ive programmed all to have GC20 xxxx xxxx. I have to create a new loyalty card by pressing the “Create Loyalty” button, and then go through an array of questions ive set up… which still seems to be confusing to some staff…
Would there be a way of just swiping the card, the till then realising its not an already used card and so fires off an automation command to create the Loyalty? and then all I do is enter the customers name in a popup and bingo…?
Im guessing it could be something as simple as making it store the number on the card in a setting, then using the constraints on the actions added to the rule?
You would want to use something like report entity details using the entered value as a constraint and base the actions/flow as to if a value is returned or not.
Your in a numberpad rule so should be able to use the rule based expression. in square brackets FYI.
This then shouldnt matter what happens in ticket etc since its a rule value.
Also if your firing execute automation command from that you shouldnt need to save the numberpad value to setting - you could just pass it through to the automation command rule as the command value.
The options which come up in the dropdown in the rule, as its numberpad entered rule it should have a built in value for it. Linke exc amc rule has command name, value etc built in.
So in theory you shouldnt need to store in setting, you can just pass the numberpad value over to the automation command rule in the command value.
So command name is PRMLoad and command value is the numberpad entered value.
Then in the AMC rule rather than pulling setting you just use the command value.