You are viewing limited content. For full access, please sign in.

Question

Question

Deletion Workflow

asked on May 18, 2018

Hello everyone,

Looking to create a workflow that looks in a specific folder in Laserfiche 10.2 and deletes all file with a creation date >= 30 days. The folder will only contain PDF files and us used merely for backup. Thus far, I have added the Find Entries and Delete Entry task to the workflow pane. Any assistance would be greatly appreciated. 

0 0

Answer

SELECTED ANSWER
replied on May 18, 2018

You need to use Date Token Calculator to get the target date 30 days ago.  Then use Search Repository and plug the date token into your advanced search syntax to 30+ day old documents in your target folder.  Then, because you will have multiple results, you will need to use a For Each Entry loop to Delete Entry.

The search syntax will look something like this where {%(DateTokenCalculator_30 days ago) is the token you created with the Date Token Calculator.

{LF:LOOKIN="\IT\Testing\oldies"} & {LF:Created<"%(DateTokenCalculator_30 days ago)"} 

 

3 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.