Creating a request (solved)

Hey, I’m quite new to the world of uipath,

I want the bot to start with a request:

which product do you need?:
a
b

then the bot should continue with either sequence a or b.
currently I’m using an “input dialog” and a “decision” after that.

but I don’t know how to write the correct input in the “option” field.
the decision should depend from the output of the input box.

That should do the job:
{“a”,“b”}

It needs to be an array of strings. :slight_smile:

Your result should also be a string variable which you’ll use in your flow decision. I’ve attached an example.
Main.xaml (7.7 KB)

1 Like

@newuserx

Store output of Input Dialogue Activity into a string variable.

In Flow Decision Activity, check if it equal to a or b. Then based on go to that side.

1 Like

Hello @newuserx,

Arrays always need to go between {} not ().

image
image

1 Like

@all thank you, now it works !

3 Likes