Message Dialogue
Moderator: Martin
Message Dialogue
Is it possible to add more than 1 button in Message Dialogue action?
Re: Message Dialogue
And what condition to write to use that button.
Re: Message Dialogue
Hi,
That's not possible with action Message Dialog. You could use condition Confirmation Dialog to show two buttons. It's also very easy to determine the chosen button since one button will continue the flow on the true-branch and the other on the false-branch of the condition.
Regards,
Martin
That's not possible with action Message Dialog. You could use condition Confirmation Dialog to show two buttons. It's also very easy to determine the chosen button since one button will continue the flow on the true-branch and the other on the false-branch of the condition.
Regards,
Martin
Re: Message Dialogue
Hi Martin,
I was using confirmation dialogue only before, but I was facing some problem, which I discussed earlier also.
I want to use both button but sometimes I don't want to use any of them and I press back button, but nothing happens on pressing back button.So I press home buutton to exit and when I clear my recent apps, it execute the false condition of the flow.
So any other alternative other than input dialogue?
I was using confirmation dialogue only before, but I was facing some problem, which I discussed earlier also.
I want to use both button but sometimes I don't want to use any of them and I press back button, but nothing happens on pressing back button.So I press home buutton to exit and when I clear my recent apps, it execute the false condition of the flow.
So any other alternative other than input dialogue?
Last edited by Akt on 26 Jun 2017 10:56, edited 1 time in total.
Re: Message Dialogue
Hi,
I could add a new option to condition Confirmation Dialog, something like Confirm with True, Set variable operation to cancel then you could use a condition Expression: operation=='cancel' to see if the dialog was cancelled.
Would this work in your case?
Regards,
Martin
I could add a new option to condition Confirmation Dialog, something like Confirm with True, Set variable operation to cancel then you could use a condition Expression: operation=='cancel' to see if the dialog was cancelled.
Would this work in your case?
Regards,
Martin
Re: Message Dialogue
Hi Martin,
I would be very glad if you would add this feature.
I just simply want that if I press back button then confirmation dialogue window should exit and it should not return with true or false.
Thanks Martin,
Waiting eagerly for this feature.
I would be very glad if you would add this feature.
I just simply want that if I press back button then confirmation dialogue window should exit and it should not return with true or false.
Thanks Martin,
Waiting eagerly for this feature.
Re: Message Dialogue
Hi,
Completely stopping the flow on a back press is against the design principles of Automagic. I can only offer to set the variable operation to 'cancel' but the flow has to continue either on the true- or the false-branch. I've decided to execute the flow on the false-branch since it seems more logical to me.
The feature is in the next version (I hope to release an EAP version soon).
Regards,
Martin
Completely stopping the flow on a back press is against the design principles of Automagic. I can only offer to set the variable operation to 'cancel' but the flow has to continue either on the true- or the false-branch. I've decided to execute the flow on the false-branch since it seems more logical to me.
The feature is in the next version (I hope to release an EAP version soon).
Regards,
Martin
Re: Message Dialogue
Can't you do anything in Behavior on back button ??
Re: Message Dialogue
Stopping the flow is not possible, respectively this would require too many internal changes to make this feasible but setting the variable operation to 'cancel' will allow to build the flow you are after.
Regards,
Martin
Regards,
Martin