From where I can create or delete variables in UiPath studio?

+1 vote
In UiPath studio, from where I can create a variable and also set its data-type. Also if I want to delete a specific variable, how can I do that?
Mar 25 in RPA by Divya
143 views

1 answer to this question.

+1 vote

Hi @Divya, In UiPath Studio, Variables are used to store multiple types of data and support a large amount of types, ranging from generic value, text, number, data table, time and date, UiElements to any .Net variable type. You can create a variable in 2 ways:

1. From Context Menu in Properties: In the Properties panel of any activity, right-click a field that can be edited, and select Create Variable from the context menu, or press Ctrl+K. A Set Name field is displayed, fill in the name and press Enter. The scope of variables created like this always belongs to the smallest container it is part of.

2. From Variables Panel: Click Variables from Designer Panel and Variables panel is displayed. Now click on Create Variable and a new variables will be created. You can set its Name, Variable Type, Scope and Default Value all from this Variable Panel. 

To Delete a variable, simply right-click on the Variable from Variables Panel and select Delete. You can also press Delete button from keyboard on selecting a variable.

answered Mar 25 by Anvi
• 13,960 points

Related Questions In RPA

0 votes
1 answer

Can I create dictionary in UiPath studio and add items to it?

Hey @Rumani, you can definitely create dictionary ...READ MORE

answered Mar 13 in RPA by Abha
• 27,180 points
2,662 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
• 27,180 points
412 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
• 13,960 points
1,201 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
• 3,680 points
3,925 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
• 13,960 points
2,508 views
+1 vote
1 answer

Can I create a custom reusable package or library in UiPath studio?

Hi @Deepti, UiPath provides an option of ...READ MORE

answered Mar 24 in RPA by Anvi
• 13,960 points
1,023 views
0 votes
2 answers