Conditional Actions based on variables
Posted: Tue Jan 07, 2020 6:39 pm
Hello All,
I currently use variable sets and actions via pitstop server hot folders. It works out great for when you want to do the same actions with variable input. But what if you wanted to run specific actions only if a variable value equaled some text.
Example:
We drop in a multi-page pdf and XML into a pitstop server hot folder. The XML has a variable that describes if the pdf is simplex or duplexed. the goal is to gang simplex and duplex jobs together but my imposition software's "add blank page to simplex" jobs does not work. So, here is where I was hoping I could do a conditional. If the value in the XML is simplex, run the action to add blank pages. if duplex, skip and move on the next action.
We do have Switch, and I am feeling like I may have to use it to handle the conditionals, but was hoping I could stick with just using pitstop.
Thanks for any advice!
I currently use variable sets and actions via pitstop server hot folders. It works out great for when you want to do the same actions with variable input. But what if you wanted to run specific actions only if a variable value equaled some text.
Example:
We drop in a multi-page pdf and XML into a pitstop server hot folder. The XML has a variable that describes if the pdf is simplex or duplexed. the goal is to gang simplex and duplex jobs together but my imposition software's "add blank page to simplex" jobs does not work. So, here is where I was hoping I could do a conditional. If the value in the XML is simplex, run the action to add blank pages. if duplex, skip and move on the next action.
We do have Switch, and I am feeling like I may have to use it to handle the conditionals, but was hoping I could stick with just using pitstop.
Thanks for any advice!