I want to define the mail script body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 11:56 PM
1. I just simply want to use the variables in the mail script body and then us that mail script.
2. I want to use that mail script in my Business rule to copy the body into the Worknotes field.
Please guide if anyone has done something similar.
Thanks!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 12:20 AM
1. Use below syntax to get the variable name in email script
template.print("<B>Variable Name:</B>"+ current.variables.VariableName+ "<br>"); // Write variable name in place of bold text.
2.I dont think it is possible to call email script directly through business rule.
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 04:47 PM
Thanks Mihir!
That worked well, but I am just wondering for calling the mail script from Business Rule, I think we can do it using glide but I am little unsure how to do it.
Any thoughts?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 08:16 PM
Hi Jyo,
I would recommend to convert your mail script to script include, and call that script include both from mail script as well as business rule.