Commit 7eb9ad9
authored
Added two syntax macros for Adding attachment and sending outbound email notification through script. (#160)
* Create addAttachment.js
This syntax macro is used to create and add a new attachment to a specific record.
* Create sendOutboundEmail.js
The GlideEmailOutbound api can be used to trigger notification through script in case required to trigger notifications. The 'addRecipient' method can work in global scope(it is undocumented in servicenow) instead one can use setReplyTo for scopped app. Tested the snipped on my pdi before making submission.1 parent f0621dd commit 7eb9ad9
File tree
2 files changed
+12
-0
lines changed- GlideSysAttachment
- OutboundEmail Action
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments