Hold file till flow is empty

Post Reply
b.schuring
Newbie
Posts: 12
Joined: Tue Jun 07, 2016 6:51 pm

Hold file till flow is empty

Post by b.schuring »

Hi all,

Hope there is someone to help me.

I've got a flow where I split a PDF, hold all the pages en want to release them 1 by 1 but one if the first while is trought a certain part of my flow.
So after the first file is passed a specific folder in the flow I want to release the next, and so on...
Is this possible?

Thanks in advanced!
Bas
jan_suhr
Advanced member
Posts: 586
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Hold file till flow is empty

Post by jan_suhr »

You can send the file waiting in an end folder of the flow, with a path to the disc. Then use the Inject tool to pick it up where you need to insert it again.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
laurentd
Member
Posts: 137
Joined: Wed Mar 13, 2019 2:06 pm

Re: Hold file till flow is empty

Post by laurentd »

Hi Bas,

1. You can use the hold element, and on the outgoing connection, use the space jobs apart property.

2. You can use the Job sorter and spacer app, part of the Folder apps bundle.
Job sorter and spacer.png
Job sorter and spacer.png (30.92 KiB) Viewed 1367 times

Both methods work fine, but you have to estimate the time it takes to process a job.
And sometimes Switch will wait too long if a job is processed faster.

So here is solution 3, a bit like Jan's answer:
Send a copy of the job to a hold folder.
Use a hold element with space jobs apart property and folder constraint upfront, as illustrated.
At the end of the flow, inject that job from the hold folder, so that the next job can start.
This acts as a gatekeeper.
If you want the files to be processed in a certain order (e.g. alphabetically), replace Ungroup Job with the Job sorter and spacer app.

one job at a time.png
one job at a time.png (29.09 KiB) Viewed 1364 times
Hold outgoing properties.png
Hold outgoing properties.png (51.45 KiB) Viewed 1367 times
Laurent De Wilde, Solution Architect @ Enfocus
b.schuring
Newbie
Posts: 12
Joined: Tue Jun 07, 2016 6:51 pm

Re: Hold file till flow is empty

Post by b.schuring »

Works like a charm! This was exacly what I neededThanks!
Post Reply