After you have enabled the email capture plugin and set preferences for email approval, review and deploy the following scripts:
- SAS – Email Approval Log Cleanup – If you want to purge unnecessary email approval logs, deploy this script.
- SAS Supported Records UE – If you want to use SuiteApprovals to manage the approval of Email Approval Log, deploy this script.
To review the required script for email approval log cleanup:
- Go to Customization > Scripting > Script Deployments.
- Click Edit next to SAS – Email Approval Log Clean-up script (ID: customdeploy_sas_approval_logs_cleanup).
- On the Schedule subtab, complete the following fields:
- Daily Event – If you want to keep this setting, leave this option selected.
- Repeat every day(s) – If you want to keep the frequency to one day, leave this setting. Change if you prefer a different frequency.
- Start Time – Select 12:00 am.
- No End Date – Check this box
4.Click Save.
To deploy the required script for email approval log:
- Go to Customization > Scripting > Scripts.
- Click View next to SAS Supported Records UE script.
- Click the Deploy Script button.
- On the Script Deployment page, complete the following fields:
- Applies To – Select Email Approval Log.
- ID – Enter a unique ID for the deployment.
- Status – Select Released.
- Execute as Role – Select Administrator.
- On the Audience subtab, check the Select All box for Roles.
- Click Save.