Pega Robotics Studio 8: setting variables from within script
I want to set automation variables from within a script similar to in the attached diagram, but I get the error "The name 'xxx' does not exist in the current context". How would I define variables so that they can be seen both from the automation and the called scripts within? I would rather not pass values via parameters or return values as the reason I would like to do this within a script is there are going to be possibly several hundred variables to set.
More generally, where can I get examples of scripts? The examples in Online Help are extremely limited.
http://help.openspan.com/80/Components/How_to_Use_the_Script_Component.htm
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.