Remove Formyoula File Content After Successful Upload

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.

image
image

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.

image
image

Please click the edit link for “Delete_AWS_Files_After_Upload”.

image
image

Next, update the value to “Yes”.

image
image

Schedule Content Deletion Job

Please open the Apex Classes setup menu page and click on the “Schedule Apex” button.

image
image

Find and select the “Formyoula_AWS_File_Delete_Schedule” class.

image
image

Schedule the job for the next closest hour.

image
image

To find out if the file was deleted, please add the Delete Status field on the Formyoula File object page layout.

image
image

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂