Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This code_snippet.js script includes when attachment is added in Incident Form, then an email notification is triggered.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// This script script includes when attachment is added in Incident Form, then an email notification is triggered.
// Create an event on incident table
Event Name - inc_attach_upload
Table - incident

// Create a business rule on Attachement table before insert
//Condition Table Name is incident
gs.addInfoMessage('Attachement is Added');
gs.eventQueue('inc_attach_upload',current,current.table_sys_id);

// Create a Notification when event is triggered on incident table
When to Send - Event (inc_attach_upload) is triggered
Who will Receive - Any Recipients
What it will Contain - Any Email Subject and Body can be added
Loading