I am trying to use the code stage in C# inside Blue Prism. I am using a custom object that I would like to be able to pass from one code stage to another inside Blue Prism.
I cant serialize my object, therefore I can't use Blue Prism Variable as output.
Here is my question: How can I keep a variable lifetime from one code stage to another? From my understanding, a variable gets removed from the heap whenever it is not referenced anymore in the code.
Any hint?
Thank you!
If you define the variable in the 'Global Code' then you can access it from code stages anywhere in your object.