Input dialog - text box - setting default value

Hi All, i am using input dialogue to get timeframe input from user however if user closes without entering input it wont work how to set default value please.

Hi @Sathish_Ashokan

That’s possible. Just pass a single value in either options array or options string property.

Hope it helps

@Parvathy but the input type you given is multiple choice my one is textbox will it still applied?

@Sathish_Ashokan

It won’t be applied for Text Box as you give the optional string it is taking Multiple Choice by default.

Regards,

Hi @Sathish_Ashokan ,
You can set option String

value will get default value



hope it help

Hi @Sathish_Ashokan

After the input dialog box, put an if condition and check below

String.IsNullorEmpty(Your_inputdialogBoxVariable)

In then block,

You can add an assign activity and set default value to the variable.

Else block,

Leave it empty since the value user entered would be picked up from input dialog activity output

Hope it helps!

1 Like

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