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 in RPA by Piyush
309 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 by Abha
• 19,130 points

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 in RPA by Pratibha
• 2,760 points
151 views
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 13 in RPA by Abha
• 19,130 points
209 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 in RPA by Anvi
• 11,690 points
720 views
+1 vote
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 in RPA by Pratibha
• 2,760 points
1,644 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 18 in RPA by Anvi
• 11,690 points
939 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 in RPA by Abha
• 19,130 points
338 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 in RPA by Abha
• 19,130 points
468 views