Notify Assigned to whenever attachment added by requester through portal for HR cases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 06:13 AM
Hi,
can you please help us how to trigger notification to agent/assigned to whenever attachment added by end user through portal.
Wrote event followed by BR and Notification, but those are not working as expected.
Thanks in Advance!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 06:49 AM
Please share your business rule and event details so that someone can help.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 07:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 08:17 AM
When an attachment is added to a case, it gets added to the sys_attachment table. Your BR is on the Lifecycle events table.
You will need to write a BR on the sys_attachment table. Once an attachment gets added you will need to check if this attachment has been added to the lifecycle events table and match the conditions that you need and then trigger the event and the notification.
Also in BR2 screenshot the your GlideRecord is misspelled, you might want to start from fixing there first.
Please mark helpful, if this helped.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 08:21 AM
I would also recommend to pass the fourth parameter to the gs.eventQueue method.
The 3rd and 4th parameter have to be strings. Please pass strings using the current.getValue('file_name') in the third parameter and gs.getUserID() as the fourth parameter.
Please mark helpful, if this helped.
Thanks,