UiPath.Core.Activities.MessageBox
Displays a message box with a specified text and button options.
To learn how to use this activity, see Tutorial: Working with Files and Folders.
In the Body of the Activity
You can specify the text of the message box that you want to display by clicking on the right side of the field and then, from the menu, choosing one of the available options:
- Data from an application added to a card or from the Excel Workspace. For example, select an Excel file and then select a cell, or indicate a field from a selected email in Outlook to display its contents in the message box.
- Use Saved Value - Select a value that you previously saved for later use in the project.
- Text - Enter a message in the Text Builder.
- Number - Enter a numeric value.
- Open in Advanced Editor - Enter a VB expression.
Properties
Common
- DisplayName - The display name of the activity.
Input
- Buttons - Specifies which buttons to be displayed in the message box.
- Caption - The title of the message box dialog.
- Text - The text to be displayed in the message box.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
- TopMost - If selected, always brings the message box to the foreground.
Output
- ChosenButton - A
String
variable that specifies which of the buttons specified in the Buttons property has been clicked during run time. The possible options are: Ok, Yes, No or, Cancel.
Updated 3 years ago