We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9b303 commit cce7214Copy full SHA for cce7214
Server-Side Components/Business Rules/EmailAlert/EmailAlert.js
@@ -0,0 +1,17 @@
1
+#Business Rule
2
+(function executeRule(current, previous /*null when async*/) {
3
+
4
+ // Add your code here
5
+ var userEmail=current.caller_id.email;
6
+ g_scratchpad.callerEmail=userEmail;
7
+})(current, previous);
8
9
10
+#ClientScript
11
+function onLoad() {
12
+ //Type appropriate comment here, and begin script below
13
14
+ var mail=g_scratchpad.callerEmail;
15
+ alert("callers email address : "+mail);
16
17
+}
0 commit comments