Using a do while and condition is based on user input

Hi, I want to use a do while with a message box and input dialog to get user input. The message box is first and I want the condition to be ‘while ChosenButton(from message box) is Yes’ show input dialog box. This part works fine but when I click No on the message box the input dialog box appears again but I don’t want that to happen I want the process to end. Can anyone offer any help?
Capture

1 Like

Hi @rparookie97,

Glad to help on this. Yes… you can handle it via the message box properties…

In the message box properties, just as you set the buttons, under the output, assign a variable to it. This way, that will hold the text of the button you clicked.

image

Then use a IF activity to check the button text. and based on the value, you can design what to show, and what should not :slight_smile:

Let know how it goes for you…

1 Like

Thanks Lahiru! This worked :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.