Skip to content

Commit 7cc1ce5

Browse files
code_snippet.js
1 parent acf0dd4 commit 7cc1ce5

File tree

1 file changed

+14
-0
lines changed
  • Server-Side Components/Business Rules/Send E-Mail when attachment is added in Incident Form

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This script script includes when attachment is added in Incident Form, then an email notification is triggered.
2+
// Create an event on incident table
3+
Event Name - inc_attach_upload
4+
Table - incident
5+
6+
// Create a business rule on Attachement table before insert
7+
//Condition Table Name is incident
8+
gs.addInfoMessage('Attachement is Added');
9+
gs.eventQueue('inc_attach_upload',current,current.table_sys_id);
10+
11+
// Create a Notification when event is triggered on incident table
12+
When to Send - Event (inc_attach_upload) is triggered
13+
Who will Receive - Any Recipients
14+
What it will Contain - Any Email Subject and Body can be added

0 commit comments

Comments
 (0)