- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 01:13 AM
Hi all,
I want to delete the the attachment on data source after 10 minutes when records get created. How can we achieve it?
I am creating some records in a custom table using import set. I am attaching a CSV file on the data source.
I am trying to delete the same using post import script available on scheduled data import attached to our data source but it's not working; maybe because sys_attachment is in global and my data source is in the custom application. Please suggest what can be done.
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 02:22 AM
Also to note if still you are not able to delete those attachment, then would suggest to check if you are working in a Scoped Application or not?
If it is a Scoped Application then you need to enable the Can delete behavior at the Table level as shown below and allow it to delete it from other scopes as well:
Navigate to tables module and search for "Attachment" table and then go to Application Access tab as shown below and make the changes as highlighted:
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 06:07 AM
Hello
Is it necessary to enable the Can delete behavior at the Table level (For Scoped App)
Can't we achieved it by using flow designer , i tried it but its giving me error related to function not sure if that is because of that permission (Can delete) .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 01:17 AM
Hi Nitin,
How did you add 10 min delay time in your post import script? Can you show me an example of that as well?
thanks