UiPath Activities Guide

Message Box

UiPath.Core.Activities.MessageBox

Displays a message box with a given text with the button options.

Properties

Input

  • Text - The text to be displayed in the message box.
  • Buttons - Specifies which buttons to be displayed in the message box.
  • Caption - The title of the message box dialog.

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.

Note:

You cannot manually add a value into this property field at design time. To use it, create an empty variable and assign it to this field. At run time, depending on which button is clicked by the human user that interacts with the message box, you can customize the way your automation continues to run.

Common

  • DisplayName - The display name of the activity.

Message Box


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.