Trying to setup print bill when payment button is pressed but with confirmation popup

Your print bill needs to be on a second rule trigered by the ask question command name.
When triggered the command value will be the = part from the button pressed.
So add an automation command name to the ask question.
Make a new rule as automation command executed and constraints of
Command name equals (the name on ask question)
Command value greater than 0

Make a new or clone print action but put [:Coppies] in the Coppies field. That will let you set the number of prints from the rule.

Add that new print action to the second rule you just made and select command value in the Coppies field.

Then when the ask question button is pressed; is value is 0 nothing happens, and the others the value becomes the number of Coppies
:slight_smile:

1 Like