Articles → AUTOMATION ANYWHERE → Prompt Command In Automation Anywhere

Prompt Command In Automation Anywhere






Purpose




  1. Prompt for Value.
  2. Prompt for File.
  3. Prompt for Folder.
  4. Prompt for Yes/No.



Prompt For Value




Picture showing prompt for value command in automation anywhere
Click to Enlarge





Picture showing assigning the reponse to the variable and display it using message box
Click to Enlarge



Picture showing the output of Prompt for value command in automation anywhere
Click to Enlarge


Prompt For File




Picture showing the list of text files stored on the disk
Click to Enlarge



  1. Drag and drop ‘Prompt For File’ and you will get following window
  2. Picture showing prompt for file command in automation anywhere
    Click to Enlarge



  3. Add a loop to loop through ‘my-list-variable’.
  4. Picture showing the loop command in automation anywhere
    Click to Enlarge

  5. Add a message box to display the text.
  6. Picture showing the message box command to display the value of the my-list-variable
    Click to Enlarge




Picture showing the final code of prompt to file command
Click to Enlarge



Picture showing the output of Prompt to file command in automation anywhere
Click to Enlarge


Prompt For Folder




Picture showing the pop up window for Prompt to folder command
Click to Enlarge





Picture showing the message box to display the value of the $clipboard$ variable
Click to Enlarge



Picture showing the output of the prompt for folder command in automation anywhere
Click to Enlarge


Prompt For Yes/No




Picture showing the pop up window for Prompt for Yes/No command
Click to Enlarge





Picture showing the message box to display the value of the $clipboard$ variable
Click to Enlarge



Picture showing the output of the prompt for Yes/No command in automation anywhere
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, December 21, 2018

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250