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?
The script object should live as long as the container holding it does. So if you have a global container with a script that starts when the project starts and lives throughout, the script will live that entire time.