There was a problem loading the comments.

Admin Workflow to move unmodified file within n number of days

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

I'm trying to move files were last modified 10 years ago or more and not accessed in the last years. However, I keep receiving either no results or an invalid JSON message.

 
  • Product - FileCloud Server
  • Version - Any
  • Platform - Any
Steps to Reproduce:  
Error or Log Message:  

Defect or

Enhancement Number:

 
Cause: The issue you’re encountering is likely due to the incorrect use of the skip_recently_accessed parameter. Please note that this parameter is a Boolean flag and should be set to 1 (true) or 0 (false)—not to a number of days. 

When skip_recently_accessed is set to 1, FileCloud will exclude any files that have been accessed (viewed or downloaded) within the number of days specified by the number_of_days parameter.

Resolution or

Workaround:

Kindly please refer to the sample condition below:

If Condition
{
 "parent_folder_path_string": "/SHARED/teamfolder/testfolder",
 "number_of_days": 3652,
 "skip_recently_accessed": 1,
 "exclude_recyclebin": 1
}

 

Then Action

{
 "target_path": "/SHARED/teamfolder/folderarchive",
 "allow_overwrite": 1,
 "keep_folder_structure": 1
}

 

This configuration will move files that:
     • Were last modified more than 10 years ago (3652 days),
     • Have not been accessed (viewed or downloaded) in the last 10 years,
     • And are not located in the Recycle Bin.

Notes: 

 https://www.filecloud.com/supportdocs/fcdoc/latest/server/filecloud-administrator-guide/filecloud-site-maintenance/workflows-ifttt


Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud