I want to be able to automatically (or some easy manual way) delete pages that are archived after x amount of days (365 most likely). I set up an advanced workflow with an auto-transition from the Archived step to the Delete step after x days. In the scope of the workflow I set it to cover the root path with all child pages with a macro condition that the page is Archived: (CurrentDocument.DocumentIsArchived). When I look at the pages tab it doesn't add any pages to the scope. I'm guessing it is because all pages are also under the Standard workflow or any custom workflows we have applied. Is there a way to make this work in this way? Should I modify all the other workflows to include an additional Delete step or is there a better way to achieve this? Maybe a custom scheduled task? If there is a manual way where I can find archived pages based on date archived and mass delete that might be ok too, but an automatic process would be best. I also thought of creating an archive folder and applying the custom workflow to it, but then everyone would have to move the archived pages under it. Anyone have any ideas?
↧