passing results from a switch script into the flow

Post Reply
cwswitch
Member
Posts: 78
Joined: Fri Feb 24, 2017 12:25 am

passing results from a switch script into the flow

Post 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!
Padawan
Advanced member
Posts: 358
Joined: Mon Jun 12, 2017 8:48 pm
Location: Belgium
Contact:

Re: passing results from a switch script into the flow

Post 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"]
cwswitch
Member
Posts: 78
Joined: Fri Feb 24, 2017 12:25 am

Re: passing results from a switch script into the flow

Post 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
Post Reply