File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Server-Side Components/Business Rules/EmailAlert Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ ** Overview**
2+ This implementation demonstrates how to display the Caller’s email address in an alert whenever an Incident form is loaded in ServiceNow.
3+ It uses a Business Rule to fetch the email and a Client Script to display it on the form.
4+
5+ Components:
6+ Business Rule: Fetches the Caller’s email and stores it in a temporary variable (g_scratchpad) to be used on the client side.
7+ Client Script (onLoad): Reads the email from g_scratchpad and displays it in an alert when the form is loaded.
8+
9+ Usage:
10+ Apply the Business Rule to the Incident tabl and add the Client Script (onLoad) to the same table.
11+ When an existing Incident record is opened, the Caller’s email will appear in a pop-up alert.
12+
13+ Result
14+ Existing Incident records show an alert with the Caller’s email address.
15+ New records do not trigger the alert.
You can’t perform that action at this time.
0 commit comments