Page 1 of 1

Forward original PDF after 5 minutes if processing is not yet complete

Posted: Sat Nov 02, 2024 5:49 pm
by senghaas
Hi folks,
we have a time-critical process in which a large number of PDFs may have to be redistilled (Callas PDF Toolbox) in a short space of time. The TimeOut here is set to 20 minutes and cannot be changed. This is too long for the subsequent processing, the jobs then remain orphaned.
I am therefore looking for a logic in which PDF jobs are forwarded as originals after 5 minutes at the latest. The processed file, if it is finished at all, should then be deleted.
Does anyone have any ideas?
Many thanks in advance!

Best regards, Jürgen

Re: Forward original PDF after 5 minutes if processing is not yet complete

Posted: Fri Jan 10, 2025 4:34 am
by wealthsize
can no one answer this question
i am facing the same situation :(

Re: Forward original PDF after 5 minutes if processing is not yet complete

Posted: Fri Jan 10, 2025 9:55 am
by tdeschampsBluewest
Hi,
In the folder preceding the processing element, create a private data entry with the following value:

Code: Select all

jobPath=[Job.Path]


Next, establish a new arrow connection to another branch of the flow. In this branch, use a Hold Job element to pause the job for X minutes .

After the hold duration, add an nject element configured to use the jobPath private data.
  • If the job is no longer available, it will follow the **Fail** arrow of the Inject element.
  • If the job is present, you can reroute the original job accordingly.


Here’s a visual representation of the setup:
Image

Re: Forward original PDF after 5 minutes if processing is not yet complete

Posted: Fri Jan 10, 2025 9:58 am
by tdeschampsBluewest
Or... don't overcomplicate things like I did in my previous answer

Take advantage of the Advanced Options in the flow properties:
Image

Then, on the specific element where you want the delay, set up a Idle after job (secs) :
Image