Move attachments from HR case to HR task without duplicate attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 07:33 AM
Hi,
I have a requirement where we need to move all the attachments from HR case to all associated HR tasks without duplicate attachments get copied. I have tried with before/after BR [insert and update] on HR Case table but it is not working. No attachments are moved to the HR task record. Below code I have used:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 09:04 AM
Do you want to move each attachment to each associated HR Task, or copy them? Do you want this to happen as the attachment is added to the HR Case, or when a HR Task is created or when?
I wouldn't recommend any such activity due to database bloat and out of sync issues. Just create a new Related List to display on the HR Task record that shows the attachments on the HR Case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2025 11:14 AM
Hi @Ashish71 did you find something on this, if yes please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2025 02:14 AM
Hi Ashish71,
Have you check the scope of your script? Some cases, for instance, HR LE need to approach from its own scope.