Notify Assigned to whenever attachment added by requester through portal for HR cases

Prasanna49
Tera Contributor

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!!

 

4 REPLIES 4

SumanthDosapati
Mega Sage
Mega Sage

Please share your business rule and event details so that someone can help.

 

Regards,

Sumanth

Hi Sumanth,

 

Sure, please check below attached. 

 

Thanks in advance!!

Prasanna

@Prasanna49 , 

 

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,

@Prasanna49 ,

 

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,