Automation Command Button Visible States

I have a separate void button for pre-orders.

For the default Void automation command I’ve set enabled and visible states for Status=Submitted.

The enable states constraint seems to work, but not for visible states.

Any ideas?

TIA

Mappings:

Ticket display (enabled Void button is for pre-order which should be visible):
2021-02-22_18;29_1614040147_Samba.Presentation

Remove Status= and just put Submitted

Button is still visible because the order’s pre-order state is submitted and matches “Submitted”.

For example, setting enable states to just “Submitted” both Void buttons are enabled:

2021-02-22_18;34_1614040476_Samba.Presentation

I think you may need to seperate with a new state type.
I had something similar where I setup switch user and hold ticket.
Wanted a held order (submitted to db but not sent to kitchen etc) to be able to be canceled without admin pin for void as it was new in a sence.
So duplicated void automation as a cancel hold version with cancel button.
To seperate from the normal cancel etc I added new additional order states to control the visable buttons

1 Like