Create your first automation in just a few minutes.Try Studio Web →
by Manoj Batra
10
Activity
5.3k
Summary
Summary
The Getter Setter Activity is very similar to the “GET SET” properties we use in other programming language like C# and Java
Overview
Overview
This document covers the usage of Getter Setter Activities in UiPath, its features and benefits.
The Getter Setter Activity is very similar to the “GET SET” properties we use in other programming language like C# and Java. The only difference here is all the properties which we declare inside the code is public and can be accessible at any location inside the project.
The Getter Setter Activity supports all types of data in UiPath. You just need to declare the variable once and it can be used anywhere in the project. The benefit of this activity over arguments can be understood with the help of following example:
Features
Features
The benefit of this activity over arguments can be understood with the help of following example. Suppose the project flow is like Page1 à Page2 à Page3. If we want to use the variable “V1” declared on page1 to page3, then we have to use arguments both on page2 and page3 to pass the variable value to page3 from page1. The same can be achieved with the help of getter setter without passing the value in the form of argument to another page. You declare the variable on page1 keep it in setter and fetch the value wherever required using getter.
Additional Information
Additional Information
Dependencies
Netwonsoft.Json > 7.0.1
Code Language
Visual Basic
Runtime
Windows Legacy (.Net Framework 4.6.1)
License & Privacy
MIT
Privacy Terms
Technical
Version
1.0.4Updated
February 18, 2020Works with
Studio: 18.4 - 22.10
Certification
Silver Certified
Support
UiPath Community Support