I’m trying to setup a message pop up for customers birthdays. Most of our customers like to only give day and month so I’ve added 2 fields to the Customer Entity, Birthday Day and Birthday Month. I’m testing at present and it sort of works but not as I expect it to. I’ve created a Birthday Popup Action which displays a message on the screen just after the customer ‘tags’ in (I use RFID tags for my coffee points reward system). This is triggered by an action in my ‘CC-Coffee Card Scanned’ Rule. The action uses a constraint which compares (or will compare) Birthday Day and Birthday Month with {DATE:dd} and {DATE:mm}, if they both match the message will pop. I’m just using Day at present for testing purposes.
My problem is that the tag has to be scanned twice for it to work. The first scan finds the customer and displays their details at the top of the new order screen (but the birthday pop up doesn’t pop).
This:
Turns to this:
The second scan pops the message:
Am I expecting too much with all the actions in this rule? Is there a better way to achieve what I need?
Thanks in advance.