Go to Robotic Automation version 22.1 documentation

Global Container Components and Automation Global Components

Once you declare a component to be global, by adding it to a Global Container project item or the Global tab of an automation’s Component tray, you can use it in any automation in the Studio project.

Global components are created when the project starts and exist for the entire time the project is running. These differ from local components that belong to an automation and are created when the automation starts, and exist only when the automation is running.

There is no functional difference between components added to the Global Container project item and those added to the Global tab of an automation. Keep in mind...

Note: While you can set or change the value of a Global component in multiple automations within a project, you can only control execution point at which the value is set/changed if you call the automations sequentially using Entry points. Otherwise, the value changes depending on project execution. This can cause unexpected behavior at runtime. For example, suppose you are using a ForLoop component and Automation1 sets a Global IntegerVariable value which specifies the maximum number of tiles the ForLoop should iterate. If another automation resets or changes the value of this IntegerValue component, then the ForLoop may not complete iteration or the exit condition for the loop may never be met.

 

Related information

Project Item - Global Container

Adding Global Components to an Automation

Adding Local Components to an Automation

Adding Components to a Global Container Project Item

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 28 March 2024

© 2016 - 2024 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label