Blocking the Flow (or, how to stop things popping out the other end!)

Post Reply
User avatar
TheCaptain
Member
Posts: 62
Joined: Mon Jan 18, 2016 4:22 pm
Location: London

Blocking the Flow (or, how to stop things popping out the other end!)

Post by TheCaptain »

Say a .PDF is input at one end of a Flow. Is there a way for it to disolve away, and not make it out the other end?

Specifically, rather than moving the file to a Bin of some sort, or emailing it on etc. Are we able to have Switch just forget about its Temporary Flow .PDF component and not take it any further. Maybe clear its temporary cache or something...?
sander
Advanced member
Posts: 228
Joined: Wed Oct 01, 2014 8:58 am
Location: The Netherlands

Re: Blocking the Flow (or, how to stop things popping out the other end!)

Post by sander »

Create a script with sendToNull?
sendToNull( path : String )
Marks the job as completed without generating any output. The path is ignored other than for marking the indicated file/folder for deletion.
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.

Chat: open-automation @ gitter
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Blocking the Flow (or, how to stop things popping out the other end!)

Post by gabrielp »

Without scripting, if you throw it in a recycle bin or send it to a folder where the unique name prefix is removed, Switch will eventually run its cleanup and remove its metadata and job ticket information. So the easy answer is to just delete the job with a recycle bin when you're done processing.

What's your concern?
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
User avatar
TheCaptain
Member
Posts: 62
Joined: Mon Jan 18, 2016 4:22 pm
Location: London

Re: Blocking the Flow (or, how to stop things popping out the other end!)

Post by TheCaptain »

Okay, I've figured out what the hell I was on about :roll:

Apologies for dropping this thread into the mix and then abandoning!

In essence, I have always duplicated the Recycle Bin from other Flows and until now, never really thought about it. HOWEVER, what I realise I have done is assign the Recycle Bin location to one outside of Switch's internal structure. So the RB had a physical location at all times, and I mistakenly believed that this was the standard :?

The reason this raised its head was due to the fact that we have been trying to use Switch to launch / file / action different scenarios where it would need a 'Trigger' file to set things in motion, but then to abandon the file as it is of no consequence.

I'm thinking both of your ideas above would do that so I'll skulk back into the shadows!

:!:
Post Reply