In this guide, we will explain how to schedule the Formyoula File content deletion job on Salesforce. This will ensure that files successfully uploaded to Salesforce will be removed from the Amazon based file storage.
Please use the provided installation link to install the package in your Salesforce organization. Install the package for All Users to make sure there are no issues with access permissions on Salesforce.
Enable Content Deletion
After successful installation, please open the Custom Settings page on Salesforce and click on the “Manage” link for Formyoula File Setup Config.
Please click the edit link for “Delete_AWS_Files_After_Upload”.
Next, update the value to “Yes”.
Schedule Content Deletion Job
Please open the Apex Classes setup menu page and click on the “Schedule Apex” button.
Find and select the “Formyoula_AWS_File_Delete_Schedule” class.
Schedule the job for the next closest hour.
To find out if the file was deleted, please add the Delete Status field on the Formyoula File object page layout.
For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂