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 0cf32e0 commit fe3a96fCopy full SHA for fe3a96f
Server-Side Components/Business Rules/AlertEmail/AlertEmail.js
@@ -0,0 +1,19 @@
1
+
2
3
+#BusinessRule
4
+(function executeRule(current, previous /*null when async*/) {
5
6
+ // Add your code here
7
+ var userEmail=current.caller_id.email;
8
+ g_scratchpad.callerEmail=userEmail;
9
+})(current, previous);
10
11
12
+#ClientScript
13
+function onLoad() {
14
+ //Type appropriate comment here, and begin script below
15
16
+ var mail=g_scratchpad.callerEmail;
17
+ alert("callers email address : "+mail);
18
19
+}
0 commit comments