Message Dialogue

Post your questions and help other users.

Moderator: Martin

Post Reply
Akt
Posts: 133
Joined: 25 May 2014 08:57

Message Dialogue

Post by Akt » 18 Jun 2017 09:02

Is it possible to add more than 1 button in Message Dialogue action?

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Message Dialogue

Post by Akt » 18 Jun 2017 09:13

And what condition to write to use that button.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Message Dialogue

Post by Martin » 18 Jun 2017 19:30

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

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Message Dialogue

Post by Akt » 19 Jun 2017 03:27

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?
Last edited by Akt on 26 Jun 2017 10:56, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Message Dialogue

Post by Martin » 20 Jun 2017 19:31

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

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Message Dialogue

Post by Akt » 21 Jun 2017 01:23

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Message Dialogue

Post by Martin » 22 Jun 2017 19:36

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

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Message Dialogue

Post by Akt » 23 Jun 2017 01:53

Can't you do anything in Behavior on back button ??

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Message Dialogue

Post by Martin » 24 Jun 2017 19:00

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

Akt
Posts: 133
Joined: 25 May 2014 08:57

Re: Message Dialogue

Post by Akt » 25 Jun 2017 02:02

Ok thanks Martin

Post Reply