template.print("Incident number - " + current.number + "\n");
Email script not showing anything in notification
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 06:02 AM
I created this script to greet the user at the start of every notification, but when I add it to any notification nothing shows up in the preview of the noti
11 REPLIES 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2024 10:46 AM
You cant us "gr.getValue()" that way - use var person = current.caller_id.last_name.toString() instead, as getValue() dot-walked might not work here as expected.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 01:14 AM
@Community Alums I tried to also include the gender of the caller in the email script and now it´s not showing anything again. Do you maybe know why?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 08:20 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 01:14 AM
I tried to also include the gender of the caller in the email script and now it´s not showing anything again. Do you maybe know why?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 01:43 AM
@jthomsen Consider updating your if condition as follows.
if(gender=='Male')
{
//Do something
}
else if(gender=='Female'){
//Do something else.
}