>

Articles → UiPath → Arguments in UiPath

Arguments in UiPath






Purpose





Example




  1. Create an argument with "In/Out" direction.


  2. Picture showing the argument window for creating arguments

    Click to Enlarge

  3. Create an input dialog to get the name from the user.
  4. Assign the output of the input dialog to an argument.


  5. Picture showing assigning the value of input dialog to an argument

    Click to Enlarge

  6. Save the file "Demo.xaml".


  1. Invoke the "Demo.xaml" file using the "Invoke Workflow File" activity.
  2. Import the argument.
  3. Assign it to a local variable.


  4. Picture showing assigning the value of argument to a local variable

    Click to Enlarge

  5. Display the value of the local variable in the message box.


Picture showing displaying the value of local variable in the message box

Click to Enlarge


Output


Picture showing the output of argument in UiPath

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, December 15, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250