A workflow application to assist federal agencies manage controlled correspondence.
Following steps are necessary for deployment of CDT source:
- Create 'CDT Business Hours' Business Hours entry under setup and set it as Active.
- Turn on Email Deliverability setting to 'All Emails', this is required for some test classes to pass.
- Enable Chatter
- Create an Org-wide email address, which will be used for default emails display name. (example, donotreply@some.org) Set the Id of this Org-wide email address record, under 'CDT Org Address's 'OrgEmail' custom metadata record.
- Page layout assignments needs to be adjusted for Controlled Document Object.
- Modify custom labels - 'CDT Error', 'CDT File Deletion Request', 'CDT Issue Controls' as necessary.
Change 'Admin' text to proper email. - Under Custom Settings, Open 'CDT GSA Administrator' custom setting and modify 'Agency Administrator' record's FullName to appropriate user.
- There are 2 Scheduleable classes (GrantAccessToChatterFileBatchSchedule, ScheduleUpdateDaysOpenOnApprovalSteps) which are required to be running for proper working functionality. GrantAccessToChatterFileBatch needs to run every 1 minute, and ScheduleUpdateDaysOpenOnApprovalSteps can be run nightly @3am.
- Set files settings as shown