Switch flow

Post Reply
Robbie
Member
Posts: 113
Joined: Tue Apr 02, 2019 12:48 pm

Switch flow

Post by Robbie »

Im new with swith. and i need some help.. We have a customer that profide files with a code in the name (72-2, 125-1 ore 72-1) this code let me know how we need to do the print the file. Also this code and other information need to be printed in the corners of the files.
How can i do this in switch? in the input i got a input field where i can putin the code and the info. I got all the actionflows from pitstop pro (that work perfect) But how can i tell switch that with a specific code he needs to get the specific action and put in the tekst?
User avatar
tdeschampsBluewest
Member
Posts: 139
Joined: Tue Jun 01, 2021 11:57 am

Re: Switch flow

Post by tdeschampsBluewest »

Hi Robbie,

What you’re looking for are variable sets.

You’ll need to create a variable set in Switch with a Text variable inside it.
Once created, add a variable to it, something like [Job.NameProper], or whichever pattern/regex you’ll use to extract your code from the job name.

After that, reopen your PitStop action in Switch. In the top-right corner of the action, you’ll see a purple Action button.
Click it and enable Variable Names.

You’ll now see small purple brackets [] wherever you would normally enter manual text.
By clicking on those brackets and selecting your variable set, you can populate the script dynamically with those variables.


Here is the documentation about it : https://www.enfocus.com/manuals/Referen ... setup.html
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Post Reply