Customer will not load

it seems when using the “Numberpad Value Entered” action you cannot use {ENTITY DATA:X} in the custom constraints???

Ive setup a separate field in my staff and customer entities for discount 10 and I enter either Y or N. Now i have set all my staff with employee numbers of 7 digits long so when entered in the keypad the rule will kick in. If I setup my rule as below then everything works (but i havent used the discount 10 Y or N constraint so every staff member when swiped or scanned has 10% discount applied as below)


So to limit the staff discount to specific employees ive setup the following Discount 10 and Discount 100 fields on my staff entities (100 gives me 100% discount so is not used for normal staff)

if i add these additional Y and N constraints to my rule as shown above this stops the rule from working and the staff entity is not loaded to ticket, the state doensnt change and no discount is applied. This has been the only change since the first screenshot above where the rule worked for any staff member. when adding the Entity Data constraints the rules does not work so either im not typing the correct format for the constraint or {ENTITY DATA:X} cannot be used here?? im hoping someone will tell me im typing it wrong?? @Jesse