- Used to store data dynamically
- Used pass the data within and between the projects from one workflow to another.
- Have specific directions(In/Out/In-Out) that explain which direction the data will flow or pass.
You can create arguments from :
- Arguments Panel
- Properties Panel
- Activity Body
- In: This direction means that the argument can only be used within the given workflow. It’s used to enable the calling workflow provide a parameter INWARDS to the current workflow. Naming Convention should be: in_<Argument Name>(Ex: in_Config)
- Out: This direction means that the argument can be used to pass data outside the given workflow. In other words, if you want to return some value OUTWARDS to the calling workflow, use this type of argument. Naming Convention should be: out_<Argument Name>(Ex: Out_Item)
- In/Out: This direction means that the argument can be used within and outside the given workflow.An IN/OUT type of argument is used when you want to send a variable as parameter and want the modified value of the same variable as return value. Naming Convention should be: io_<Argument Name>(Ex: io_Name)
- Property: This direction is not in use currently.
How to Create Arguments?
1. Argument Panel:
- Go to Designer Panel/Main Panel, click on the Arguments Tab.
- Click on “Create Argument” and pass the following details:
- Name: Argument Name
- Direction: specify the flow direction(In, Out, In/Out)
- Argument Type: Specify what type of value will the argument store
- Default Value: Leave it empty if argument doesn’t have a default value.
2. Properties Panel:
- Select an Activities | Go to Properties panel | Right-click on the field in which the argument is needed(e.g Output|Result field) | Select Create In Argument or Create Out Argument from the context menu.
- Alternatively, press Ctrl+M or Ctrl+Shift+M. The Set Argument field is displayed.
- Right-click on the Expression window to get the Set Argument field.
- Alternatively, press Ctrl+M or Ctrl+Shift+M in the Expression Window to get the Set Argument field.
- Fill in the name and press Enter. The argument is created.
4. Activity Body:
- From the Activities panel, drag an activity to the Designer panel. Right-click a field and select Create In Argument or Create Out Argument from the context menu.
- Alternatively, press Ctrl+M or Ctrl+Shift+M. The Set Arg field is displayed.
To Delete/Remove Arguments:
- In the Arguments panel, select an argument and press Delete.
- In the Arguments panel, right-click an argument and select the Delete option.
Hope this helps!!!. Keep Learning.
Please follow and like us:
An RPA Developer with 3+ years in RPA and Intelligent Process Automation (IPA) using Blueprism and UiPath.
Advocate of strong CI-CD deployment and being part of CoE.
Blue Prism, UiPath, Docker, Python, RPA, Outsystems, Power Apps, Azure, Zend Server, Zend Studio, Zend Guard, CMS, Zoomla, WordPress, Webservices, Linux, Windows, Abby Flexi Capture, Networking, PHP, Power Automate