Skip to content

Commit fe3a96f

Browse files
AlertEmail.js
1 parent 0cf32e0 commit fe3a96f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)