Skip to main content

Scope of a Variable



Normal Variable to Global Variable:
We create normal variables directly in an activity (from the context menu of an activity), has a smallest scope it belongs to. To make them available in your entire project, do the following:
  1. Click the smallest container in an automation.
  1. On the Design ribbon tab, in the Variables group, select Manage Variables > Promote to Global Scope. All the variables used in the selected container now have a global scope

Best Naming Practice for Variables:
When creating very large automations, it can be very easy to forget what every variable does. That is why it is important to have a good naming system in place.
We recommend that you always use descriptive names, such as userName for a variable that stores the name of a user.

Additionally, you might want to keep track of the type of variable you create, and that is why adding a short descriptor in the front of each variable name can be useful, such as int for integers.

Finally, UI Studio recommends that you write variable names in Camel Case, so that you can read them easier. 


Example of how to name your variables


Variable Type
Variable Name
Generic Value
genVariableName
Text
strVariableName
Number
intVariableName
True or False
boolVariableName
Date and Time
timVariableName
Data Table
datVariableName





Comments

Popular posts from this blog

RPA Implementation Approach

RPA Implementation Approach: 1. Tool Selection o     Based on user requirements, features available in tools, you’ve to select TOOL from mentioned above         2. Process Prioritization o     After successful section of Tool, you’ve to consolidate & prioritize the all processes in current operation. Let’s start automating lowest first and most important to next

Key Points of Leading RPA Tools

Key Points of Leading RPA Tools Automation Anywhere(AA) Blue Prism(BP) UI Path Developer friendly tool RPA Term was invented by Blue Prism Extremely User Friendly Offers Front and Back Office Robots It is an Enterprise grade RPA Solution tool Implementation Speed is high Script based, More Programming Skills required Supports only Back Office robots Re Usability is more since various integrations available with different workflows Smart Recorder Option available Code Insertion is difficult and not user friendly Free Community edition (PDF’s, Videos available for FREE) AA Bots can deploy in Physical Front Office machines & Cloud Extreme control over activities (Object Creation, Coding etc.) Con is - No Coding Annual support cost and license cost is higher What is Best RPA Tool...

Brief Overview of RPA

Brief Overview of RPA:     §   In short, it’s a way for machines to replace human workers in regular activities done across the organization.     §   It works on both Front End & Back End applications/operations.     §   BOT provides Virtual automation agents , it acts like MIMIC HUMANS .     §   BOT ’s available in Clouds/Servers     §   BOT is nothing but a configurable software set up, works only on rule-based triggers     §   It automates Non-Value –added works     §   It is a Sub Domain of BPMS (Business Process Management Software)