[New 4.1.37] Ask Question Action

Followed this - checked it at least 100 times and still the damn thing won’t do as it’s told! If I map the Calculation Selector and manually discount it works - if I use the Ask Question - nothing happens! I have tried mapping ‘Apply Discount’ to Ticket and still nothing happens! Baffled

ignore that! I’ve fixed it - I was trying to discount an item that I had tried to discount before when it didn’t work - and it didn’t like that ticket!! created a new one and all is working - that’s another Beer I owe you @JohnS I hope I never visit Oz as it will cost me a fortune in pay backs :slight_smile: as ever I bow down to your Genius!!!

@windinghouse, Calculator Selectors turns on buttons for us to use or allows automatic use (like auto rounding)
When we use rules to manipulate these calculations, we are actually working with the calculation itself (calculation type) and not the Selector.

Hi @emre,@Johns,

i have identified following issue, not all text appearing for ask question Buttons.

Button wrapping issue resolved for next release.

For 4.1.38,

  • Background color selection feature added.
  • Executing without setting Automation Command so it can be used instead of Display Message action.
  • Button colors can be set by using [Caption]=[Parameter]:[Hover Color];[Button Color] syntax. For example %10=10:Blue;White,%20=20:Red;Black setting will produce two buttons with:
    • Button 1: Caption = %10, Parameter = 10, Hover Color = Blue, Button Color = White
    • Button 2: Caption = %20, Parameter = 20, Hover Color = Red, Button Color = Black
7 Likes

GREAT, the greatest is getting greater!!!

G

1 Like

Ask Question Action for service charge guide please…

Simple method to add service charge:

How to add “ask question” action in button “Close Ticket” YES-NO

Find the Rule for Close Ticket and put Ask Question Action there. Then add a rule for automation command executed put Close Ticket action in it and put a constraint for command value - true or however you setup your command value.

Dont forget to take out the Close Ticket action from the Close Ticket rule.

Your configuration means ask question will trigger Close ticket Command and the Command Value will be Y or n inside rule. So you’ll need two separate rules. One for asking question and the other one for handling the answer. You tried to handle both in a single rule.

If you need a confirmation you can simply enable confirmation for Close Ticket automation command.

2 Likes

Once a customer is cash out a message will appear asking "Do you want to print customers receipt?

This what i have so far:


what is my next step

You would want to change buttons to Yes=Print Bill,No and remove print bill automation command name.
Then make new rule with event automation command executed, set the constraint to command value equals print bill.

The buttons bit where Yes=Print Bill makes it so pressing yes sends automation command value of Print Bill which is what makes that new rule fire. No button has no value so nothing happens.

You would also obviously need to put the ask question in to a rule.
Simplest example would be a new rule on event payment processed.

Personally I would use a generic ask question action using [: ____ ] to carry the fields into the action settings.
ie;
Question: [:Question]
Buttons: [:Buttons]
Command Name [:Command Name]
Background: [:Background]

Doing this means you have one ask question action you can use many times, then when you add the action to a rule the options/fields from the action are available in the action entry in the rule itself meaning you dont need to have lots of the same actions each having slightly different settings as the options are defined on each individual use of that action.

Like this;

2 Likes

It works as far as the message box showing but the receipt is not printing when I press yes

You missed something. Show your work please?

I tried tried the same thing like @honey3d40 , the same thing, still prints.
This is another setup:

Does not work.

You shouldnt have your print bill and ask question in the payment processed rule.
Move the print bill action into a new rule (event = automation command exacuted) with the constant of command value =‘Print Bill’

The Yes=Print Bill is firing a command value of Print Bill which is what you want to pick up on.
This is what makes it print if yes is pressed or nothing if no…

Hello,
These are the rules,actions…

Thanks