
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 10:35 AM
Hi All,
as I learned the hard way, just using mail scripts in the body (that will derive the proper from and reply_to values) will not work
But ok ... for the reply to I can use some easy js like "javascript:current.assignment_group" .... BUT how to go ahead with more complex script which I need to define the FROM field?????
PLEASE HELP.
Best would be to be able to add a email script .. but this does not work (tried like in the body with ${mail_script:abc_scipt_client}
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 12:41 PM
You can write a script include and call the script include in the java script. in script include, you can include the validation of assignment group.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 10:44 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 10:51 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 11:03 AM
?!
Just a one liner will not work.
Have complex code ...
Or can u tell me how to use the syntax?
Can I just say something like this.
javascript:
if(gs.getUserDisplayName() === current.contact.user_name()) {
if (current.assignment_group.nil()) {
gs.error("Case " + current.number ");
return;
}
and so on ...
?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 11:08 AM
no does not work that easy - I tried
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2017 11:08 AM