WORKFLOW 1
PDF Lifecycle Automation
Automates recurring cleanup of new and revised policy documents.
Manual initiation: I start the script after the 30-day transition period has passed. The script does not calculate whether the period has elapsed.
- Manually start the automation.
- Search the portal document manager for policy filenames with recognized annotations, such as
(Revised effective 12-01-26)or(New effective 01-01-27). - For revised policies, locate the predecessor PDF using the corresponding base filename without the parenthetical annotation.
- Remove the matched outdated predecessor where applicable.
- Remove the temporary annotation from the revised replacement filename and save the document record.
- For new policies, remove the temporary "New effective" annotation and save the normalized filename.
- Record the changes in an activity log.
Business value: Reduces repetitive document-management activity, standardizes filename cleanup, and creates an auditable record of changes.