Page 1 of 1

Hold jobs until 100

Posted: Thu Jul 27, 2017 5:15 pm
by Fist
I need to gather 100 pdf files in a folder before sending them trough a workflow.
The "Hold Job" element seems to me a good idea, but then I need a java script expression.
Anyone who has done this?

Regards

F

Re: Hold jobs until 100

Posted: Thu Jul 27, 2017 8:42 pm
by gabrielp
Try to assemble the job based on a number of arbitrary files: http://www.enfocus.com/manuals/UserGuid ... e_job.html

Re: Hold jobs until 100

Posted: Thu Jul 27, 2017 9:44 pm
by Fist
gabrielp wrote:Try to assemble the job based on a number of arbitrary files: http://www.enfocus.com/manuals/UserGuid ... e_job.html

Yes, That's the way to go. Thanks!

Schermafbeelding 2017-07-27 om 21.07.50.png
Schermafbeelding 2017-07-27 om 21.07.50.png (30.44 KiB) Viewed 6589 times

Re: Hold jobs until 100

Posted: Fri Jul 28, 2017 5:25 pm
by Fist
@gabrielp With 3 pdf files, it did work, but now I've set the prefs to 100 and suddenly every pdf is going trough.
What am I doing wrong?

I'm getting for each file a mail notification instead of 1 for the whole package.

Schermafbeelding 2017-07-28 om 17.18.39.png
Schermafbeelding 2017-07-28 om 17.18.39.png (49.92 KiB) Viewed 6578 times



Fist wrote:
gabrielp wrote:Try to assemble the job based on a number of arbitrary files: http://www.enfocus.com/manuals/UserGuid ... e_job.html

Yes, That's the way to go. Thanks!

Schermafbeelding 2017-07-28 om 17.18.39.png
Schermafbeelding 2017-07-28 om 17.18.39.png (49.92 KiB) Viewed 6578 times

Re: Hold jobs until 100

Posted: Fri Jul 28, 2017 6:07 pm
by gabrielp
Man, those attachments are so small, it's hard to read. But I would say maybe you need to extend the orphan time out. Does it take a while for all 100 items to get to the assemble step? If so, estimate that time and set the orphan timeout to it.

Re: Hold jobs until 100

Posted: Mon Jul 31, 2017 6:55 am
by Fist
@gabrielp Thanks for the reply! I can not guess how long it will take to have the 100 required pdf's. It can take days, even weeks. That's why I need this reliable counter so I do not need to check every day.
Let's say I set the orphan timeout on 5 days (7200) then each 7200 minutes, the monitored folder will be released? The orphan time will have priority on the scheme of every N jobs?

Schermafbeelding 2017-07-31 om 06.49.00.png
Schermafbeelding 2017-07-31 om 06.49.00.png (145 KiB) Viewed 6559 times



gabrielp wrote:Man, those attachments are so small, it's hard to read. But I would say maybe you need to extend the orphan time out. Does it take a while for all 100 items to get to the assemble step? If so, estimate that time and set the orphan timeout to it.