Page 1 of 1

passing results from a switch script into the flow

Posted: Fri Mar 22, 2019 5:22 am
by cwswitch
I'm really excited as I'm writing a script from scratch in Switch Scripter. In the past I had edited other people's or done small scripts inside of Switch.

My script gets me 3 useful values and I'm now ready to use those values in my flow.

I don't know how to access them!

Re: passing results from a switch script into the flow

Posted: Fri Mar 22, 2019 1:01 pm
by Padawan
You can store them as private data to the job using:
myJob.setPrivateData( tag : String, value : String )
See: https://www.enfocus.com/manuals/Develop ... class.html

After that you can access the values using Switch variables:
[Job.PrivateData:Key="myTagName"]

Re: passing results from a switch script into the flow

Posted: Fri Mar 22, 2019 10:28 pm
by cwswitch
niiiiice thanks! :D

I realize this is all in the books and I do search a lot, it's just overwhelming at times

Appreciate the tips, cheers