Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Re:Problem with purging with the help of Watched Folder

Arjun_Venugopal
Level 2
Level 2

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 Reply
Luigi__8_BIT_PL
Level 3
Level 3

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