Question

3
Replies
43
Views
MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: 1 year ago
Last activity: 1 year 7 months ago
Closed
Solved

What is lifetime of a script component?

I am developing with the Pega Robotic Automation Studio Plug-in for Visual Studio 2015, v. 8.0.1103.

I'm curious what would be the effect of having a property defined inside a "Script" class. Does the Script class remain instantiated as an object throughout the lifetime of an OpenSpan automation's run? Or, is it potentially destroyed at the end of each method call? Can one program the Script object to save state in the form of properties?

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn