Timeout for Check Point

Post Reply
User avatar
Terkelsen
Advanced member
Posts: 336
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Timeout for Check Point

Post by Terkelsen »

I'm looking for a way to automatically send a file from a Check Point on a certain criteria without having to manually trigger it.

A file arrives at a Check Point with a certain date somewhere in it's metadata. If the current date is more than five days after the date in the metadata, I would like to trigger that the file is send to a certain output folder from the Check Point.

Any ideas?
User avatar
tdeschampsBluewest
Member
Posts: 127
Joined: Tue Jun 01, 2021 11:57 am

Re: Timeout for Check Point

Post by tdeschampsBluewest »

Hi,
Your best approach would be to run it inside a loop with a connection timeout on the checkpoint.
Within this loop, check whether the criteria are met. If they are, break the loop; otherwise, continue checking from the last checkpoint.

Keep in mind that depending on the number of files and the frequency of the checks, this approach can become quite resource-intensive.

Side note: While the loop is running, it won’t be visible to the user.

I'm currently using this method with Review/PDF Review.
It allows you to maintain a list of pending files and gives the operator the flexibility to update details such as the email address, content, or next reminder date on the fly (the loop is for this => Check if next reminder date is outdated or not).
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Post Reply