Articles → UIPATH → Messagebox Activity In Uipath

Messagebox Activity In Uipath






Purpose




Picture showing the message box activity in the activity panel
Click to Enlarge


How To Use The Activity?




Picture showing adding the text in the message box activity
Click to Enlarge



Picture showing the output of the message box activity in UiPath
Click to Enlarge


Properties Window For Message Box




Picture showing the properties tab to check the properties of the message box activity
Click to Enlarge



  1. DisplayName - ‘DisplayName’ specifies the title of the message box
  2. Text - ‘Text’ specifies the text to be displayed in the message box
  3. Picture showing the different parts of the message box activity
    Click to Enlarge

  4. Buttons – What are the buttons displayed in the message box. Various buttons are: -
    1. Ok – Displays only Ok button in the message box
    2. OkCancel - Displays Ok and Cancel button in the message box
    3. YesNoCancel - Displays Yes, No and Cancel button in the message box
    4. YesNo - - Displays Yes and No button in the message box
  5. ChosenButton – This option given output in terms of button clicked. Let us talk in more detail about ChosenButton in the next section

Chosenbutton




  1. Create a message box activity with hard-coded text and YesNoCancel as button type
  2. Create a variable ‘outputVar’ that will store the value of button clicked
  3. Assign the value of ChosenButton in the variable ‘outputVar’
  4. Create another message box to display the value of the variable ‘outputVar’


Picture showing how the value of choosen button of the message box is stored in a variable
Click to Enlarge



Picture showing the output of the message box activity in UiPath
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, December 15, 2018

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250