SysAttachment

KingSukh
Tera Expert

I am trying to generate an email when a user attaches a file to a form i.e finance form that is attached to a record producer and it triggers a workflow.


u_finance inherits from sc_req_item which inherits from task, how can i get the assigned_to list from the tasks table through dot walking back.

I need to generate an attachment notification with the word that something was attached so that it can be filtered, i already log it in the comments section however it sends a generic email out based on a template. Alternatively i can search through comments and associated dates and if any comment as of today has the word attachment put that in the body or subject of the email.

9 REPLIES 9

passing in null in the gseventqueue instead of current or gr works and removes the warning


KingSukh
Tera Expert

WarninggetEventTarget() called with invalid record reference: sys_attachment.0859b6ed87d05500d47bbdd16a434db0 for event: attachment.uploaded, could have been deleted


KingSukh
Tera Expert

Also it does not carry the table name in the notification so if you filter on it there again it will not fire, i discovered that through emailing the passed current.table_name when it goes to the notification side. For insert it all works fine and carries the table name but for delete it does not.


KingSukh
Tera Expert

The email notification is sent out but it is not getting logged in the Activity Log when an attachment is made. I need to have it log the email that got sent out into the Activity Log.


yoed_b
Giga Contributor

Hey Sukhjinder,



Did you check this one:



Email Client Template in activity