Question

3
Replies
44
Views
Close popover
Michael Drake (MichaelD4660)
Fifth Third Bank Bank
Lead Software Engineer
Fifth Third Bank Bank
US
MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: January 30, 2019
Last activity: February 1, 2019
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.