Submit point Pitstop Action

Post Reply
Penguin
Member
Posts: 34
Joined: Tue Jul 31, 2018 5:57 pm

Submit point Pitstop Action

Post by Penguin » Tue May 07, 2019 6:22 pm

I have a submit point that asks for my CSR's to choose a customer. Based on that choice I would like for the Pitstop configurator to run the normal digital preflight but also run the applicable action. How can I make it do this without xml?

Thanks in advance

LasseThid
Advanced member
Posts: 344
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Submit point Pitstop Action

Post by LasseThid » Wed May 08, 2019 7:33 am

All information entered in the Submit point is accessible as Metadata in Switch.
If you put a hold in the flow and then submit a file and waits until it reaches the hold, you can then stop the flow and use Define condition with variables and the go to Metadata - Text - Build location path and select Submit to find the metadata you need.

To make it easier for yourself to know what metadata you use for your selection you should use a path like this: [Metadata.Text:Path="//field[tag='Material']/value",Dataset="Submit",Model="XML"] rather than the standard /field-list/field[2]/field-list/field[1]/field-list/field/value. The tag is the name of the metadata field you want, which in my example is Material.

Skärmavbild 2019-05-08 kl. 07.29.32.png
Skärmavbild 2019-05-08 kl. 07.29.32.png (210.77 KiB) Viewed 3606 times
This value can then be used for whatever purpose you need. For instance, say you have three different action lists you use depending on what was selected in the Submit point. You could then do a branch using that value and set a Private Data key that you use to select your action list.
This metadata can either be the name of an action list you already have in pitstop server or you can build a dynamic name using metadata to point to a file on a server somewhere in your network or on your Switch server. I.e. you set the metadata to Action=Adshel_4+0 or Action=D:/Switch/Acrobat Action lists/[Metadata.Text:Path="/order/product/artno",Dataset="Xml",Model="XML",Before="-"]-XX[Metadata.Text:Path="/order/product/artno",Dataset="Xml",Model="XML",After="-",Segment="3-4"]_[Metadata.Text:Path="/order/product/orientation",Dataset="Xml",Model="XML"].eal
Enfocus Switch 2020 Fall Edition, Enfocus PitStop Server 2020, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.

Penguin
Member
Posts: 34
Joined: Tue Jul 31, 2018 5:57 pm

Re: Submit point Pitstop Action

Post by Penguin » Wed May 08, 2019 5:01 pm

Thank you! The hold is what I couldn't figure out to add. How long do you think I should make the hold for?

LasseThid
Advanced member
Posts: 344
Joined: Tue Mar 03, 2015 2:30 pm
Location: Molndal, Sweden

Re: Submit point Pitstop Action

Post by LasseThid » Wed May 08, 2019 7:03 pm

I'm talking about the hold you can put on a connection in order to set up your condition with variable, not a Hold job.
If you put a hold on a connection, wait until the file reach that point in the flow and then stop the flow you have a sample job in the flow that you can use for setting up conditions.
Enfocus Switch 2020 Fall Edition, Enfocus PitStop Server 2020, Enfocus PDF Review, HP SmartStream 12 & Kodak Prinergy 8.2 with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.

Penguin
Member
Posts: 34
Joined: Tue Jul 31, 2018 5:57 pm

Re: Submit point Pitstop Action

Post by Penguin » Wed May 08, 2019 8:10 pm

Oh ok thanks.

Post Reply