How an agrument can be created and used in UiPath studio

0 votes
I want to know how arguments can be created and used in UiPath studio?
Mar 25, 2019 in RPA by Piyush
3,714 views

1 answer to this question.

0 votes

Hi @Piyush, to understand how an argument can be created and used  in an automation with an Invoke Workflow File activity, follow below mentioned steps one by one:

  1. Create first Sequence naming Sequence1 and in the Arguments panel, create an argument, StoreValue. Set Direction as Out for this argument.
  2. Now add an Assign activity to the Designer panel. Set To field as StoreValue argument and In the Value field, type a String.

     
  3. Then create a new sequence naming Sequence2. Also create a string variable, strFinalValue.
  4. Add an Invoke Workflow File activity to the Designer panel. Click Browse button and browse for the previously created Sequence1.
  5. Click Import Arguments. The Invoked Workflow’s Arguments window is displayed. Note that the argument of the first sequence is displayed here.
  6. In the Value field, add the strFinalValue variable and click Ok. The argument is imported and the value from it is going to be stored in the current project through the strFinalValue variable.

     
  7. Add a MessageBox activity under the Invoke Workflow File. In the Text field, type " This argument has been imported: " + strFinalValue.
answered Mar 25, 2019 by Abha
• 28,140 points
Great example.
Thanks Pul, let me know if I can help you with any of your other questions.

Related Questions In RPA

0 votes
1 answer

What is Terminal Activities pack and how it can be used in UiPath studio?

Hello Lalit, the Terminal pack contains activities ...READ MORE

answered Apr 9, 2019 in RPA by Pratibha
• 3,690 points
2,646 views
0 votes
1 answer

What is Get IBM Notes Mail Messages activity in UiPath Studio and how it can be used?

Hey Apeksha, this activity is used to ...READ MORE

answered Oct 24, 2019 in RPA by Rizvan
1,977 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 14, 2019 in RPA by Abha
• 28,140 points
3,057 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,150 points
8,206 views
+2 votes
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18, 2019 in RPA by Pratibha
• 3,690 points
17,192 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 19, 2019 in RPA by Anvi
• 14,150 points
17,823 views
0 votes
1 answer

What is Get Attribute activity and how it can be used in UiPath Studio?

Hey @vaani, Get Attribute activity in UiPath ...READ MORE

answered Mar 20, 2019 in RPA by Abha
• 28,140 points
8,043 views
0 votes
1 answer

How Elasticsearch Server can be used in uipath Orchestrator?

Hey @Misha, Elasticsearch is used to store messages ...READ MORE

answered Apr 2, 2019 in RPA by Abha
• 28,140 points
4,224 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP