How can I go with a flow decision after message box activity?

Hi,
I want to make a flow with a message box with Yes/No buttons and flow decision. If the user click on Yes, it will go one way; if she clicks on No, it will go another way. Can you please help?

Thanks,
Aysegul

@aysyavuz
You can use the Input Dialog activity to prompt the user to make a choice. If you want more buttons/fields then are available with that then you can use Custom Input to load a custom html file with your form.

@aysyavuz

Yes you can do that one. Select Yes/No button from Buttons under Input section and then store output of this Activity in String variable.

If outputStr.Equals(“Yes”)
Then execute 1st flow
Else execute 2nd flow

https://activities.uipath.com/docs/message-box

1 Like

Hi @lakshman,
I tried to do but whether it is yes or no, it executes the 2nd flow. Do I have to do anything else with the output?
Thanks,
Aysegul

1 Like

hello @aysyavuz

look into it

Sequence.xaml (4.9 KB)

hope its help

3 Likes

Hi,
It works!

Thanks,
Aysegul

1 Like

@aysyavuz

please close this topic to mark as solution

Thanks

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