1 Reply Latest reply on Feb 4, 2013 6:54 AM by Luigi (8 BIT PLATOON)

    Re:Problem with purging with the help of Watched Folder

    Arjun Venugopal Level 1

      Hi,

       

          I have used Watched Folder Start Point and configured it in such a way that Purge duration is 1 day. But the files in the 'Result' folder (output of process execution) are not getting deleted.

          There is no update access for the folder.

           Please help in finding a solution to delete the files from the 'Result' folder

       

      Thanks,

      Arjun

        • 1. Re:Problem with purging with the help of Watched Folder
          Luigi (8 BIT PLATOON) Level 1

          I thought the purge option, was to purge the files in the "input" folder.

           

          However a solution could be:

          Write another process, that:

          1) Runs every 24 hours (using the "wait" activity)

          2) Reads all files in the "Result" folder (use the "find" activity)

          3) Iterate through each file ("read Document" activity)

          4) Checks each files created property - either using JAVA or possibly in the SetValue activity using the getDocAttribute command.

           

          hope this helps