| Author |
Message |
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 24/10/2008 09:11:02
|
Keith
SysAider
Joined: 08/10/2008
Messages: 1
Location: Eindhoven Netherlands
Offline
|
I don't seem to be able to find a list of variables that can be used in email notifications. Furthermore the ${RequestUser}, ${SubmitUser} and ${ModifyUser} do't seem to work in an email body to a new user.
Does anyone have any ideas?
This message was edited 1 time. Last update was at 24/10/2008 09:11:50
|
Regards,
Keith |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 24/10/2008 10:04:18
|
techguy
SysAid Mod

Joined: 11/06/2008
Messages: 1506
Location: England
Offline
|
see here: http://www.ilient.com/Sysforums/posts/list/213.page#389
|
Need help? Try the SysAid wiki first! - http://sites.google.com/site/sysaidwiki |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 24/10/2008 16:30:08
|
wbeers
SysAider
Joined: 28/07/2008
Messages: 20
Offline
|
Is there a way to use custom text fields in the email? We just recently started using direct dial extensions for all branches and added it per http://www.ilient.com/Sysforums/posts/list/251.page
I'm using Custom Text 1 as our Extension field, and have edited my forms to display it just like I want it. However, I can't find a field that lets me included it in email notifications. Can I create my own, if it's not there?
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/01/2009 15:29:58
|
CCSO IT
Super SysAider

Joined: 05/09/2008
Messages: 54
Offline
|
Was there ever a solution to this? I really want my SRWorkTime.cust_notes field to display in the email
|
Thanks,
Thomas Hardin
Microcomputer Specialist
Clackamas County Sheriff's Office |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/01/2009 15:44:15
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
Hello CCSO IT,
Below you can find the complete list of fields that can be used in the email notification.
Unfortunately, the SRWorkTime.cust_notes field is not a part of the current variables you can use, but you are welcome to request it in the feature requests forum so it can be added to a future version of SysAid.
$Title - Shows the service request title
$ModifyUser - Shows who was the last user to modify the service request
$Computer - Shows the computer that is associated with the service request
$ParentID - Shows the service request number of the parent request
$Category - Shows the service request category
$SubCategory - Shows the service request sub-category
$ThirdLevelCategory - Shows the service request third-level-category
$AssignedTo - Shows the full name of the assigned administrator
$CloseTime - Shows the time the service request got closed
$Description - Shows the service request description
$DueDate - Shows the service request due date
$ID - Shows the service request ID
$RequestUser - Shows the full name of the user who requested the service request
$SubmitTime - Shows when the service request got submitted
$Notes - Shows the service request notes
$Priority - Shows the service request priority
$Urgency - Shows the service request urgency
$Status - Shows the service request status
$Resolution - Shows the service request resolution
$Solution - Shows the service request solution
$SubmitUser - Shows the full name of the user who submitted the service request
$AssignedGroup - Shows the administrator group that is assigned to the service request
$ModifyTime - Shows the time the service request last changed
$Location - Shows the service request location
$LinkToSR - Creates a link to the service request - suitable for admins only
$Company - Shows the company name that is associated with the request user
$Phone - Shows the request user's telephone number
$Cellphone - Shows the request user's cellphone number
$SMS - Shows the request user's SMS number
$CompanyPhone - Shows the phone number that is set on the request user's company
$CompanyAddress - Shows the email address that is set on the request user's company
$sr.custText1 - Shows the service request custom text 1
$sr.custText2 - Shows the service request custom text 2
$sr.custInt1 - Shows the service request custom integer 1
$sr.custInt2 - Shows the service request custom integer 2
$custList1 - Shows the service request custom list 1
$custList2 - Shows the service request custom list 1
$LinkToAttachments - Creates links to download the files attached to the service request
Boolean variables for using in customized notifications
$IsNewSr - Returns True if this is a new service request
$isClosedSR - Returns True if this is a closed service request
$isAfterHours - Returns True if the notification is sent outside of the operating hours
Best regards.
Haim
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 22/04/2009 17:21:05
|
joel
SysAider
Joined: 14/04/2009
Messages: 20
Offline
|
Hi,
Following up on this thread - do the variables $RequestUser and $SubmitUser actually show the full name or do they show the user name?
If user name, then are there any variables for displaying the first and/or last name of the requesting or submitting user?
(Would be nice to personalize the email a bit by including their name.) Can this be added as a custom variable?
Thanks,
Joel
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 23/04/2009 07:51:28
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
Hey Joel.
To show the first name of the request user, please use the ${firstName} variable, for last name use ${lastName}.
The request user variable is showing the user name only by default.
You can change it at preferences > customize > appearance under " User name display method"
Best regards.
Haim
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 23/04/2009 18:00:05
|
joel
SysAider
Joined: 14/04/2009
Messages: 20
Offline
|
Thanks, Haim.
For some reason, when I use ${firstName} in an email body, it displays literally as ${firstName}.
Changing the "User name display method" worked, though it'd be nice to just show the first name.
Any ideas on why I get the literal string and not the variable value?
Thanks.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/04/2009 02:58:57
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
Hey joel,
Which SysAid version are you using?
On which notification template are you trying to use that variable?
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 30/04/2009 11:38:41
|
DanDevoe
SysAider
Joined: 28/04/2009
Messages: 18
Offline
|
I'm having the same problem with {$firstname} showing {$firstname}.
SysAid 6.0.0.4
Thanks
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 04/05/2009 11:13:43
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
Hey guys. I checked it again, and verified that the first and last name variables only available in the "email body to a new end user/administrator" templates. For the "email body to end user regarding a service request" template, please use the $RequestUser tag. Best regards. Haim
This message was edited 1 time. Last update was at 04/05/2009 11:14:04
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 04/05/2009 17:39:03
|
techguy
SysAid Mod

Joined: 11/06/2008
Messages: 1506
Location: England
Offline
|
This is a bit inconsistent, the same variables should be available in all templates.
I have added it this feature request regarding email variables, vote here :- http://www.ilient.com/Sysforums/posts/list/0/136.page#9457
|
Need help? Try the SysAid wiki first! - http://sites.google.com/site/sysaidwiki |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 05/05/2009 05:31:04
|
Haim
SysAid Wiz
Joined: 15/04/2008
Messages: 2449
Offline
|
hey techguy.
I thought so myself, but look at it that way.
Some of the variables only fit the emails regarding the service request (request user, title, ect'), what information can be added to those fields in emails to new user, or the "remember password" email?
That's why there are differences, so this is not an issue (although i have petitioned the dev team to add the first and last name variables to all the notifications.)
Best regards.
Haim
|
Pushing IT forward |
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 09/12/2009 11:18:30
|
fmachado
SysAider

Joined: 14/10/2009
Messages: 30
Offline
|
You can simply use the code below at the message body:
#set($name = ${RequestUser})
#set($firstname = $name.substring(0,$name.lastIndexOf(' ')))
Dear $firstname,
--text---
If you wish, $name.lastIndexOf can also be changed to $name.indexOf so that the search will stop at the first "space" not at the last.
Hope this helps.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 13/08/2010 15:16:29
|
andykeppel
Elite SysAider

Joined: 24/06/2009
Messages: 177
Location: Chanhassen, MN USA
Offline
|
Has anybody had the problem using $RequestUser in the Service Request Notification section (Preferences > Service Request Notifications)?
I've created some change-request processes that send the request user an eMail about the status of their request, but when I use the $RequestUser tag in a Service Request Notification, it tries to eMail it to the Full Name (which doesn't work) instead of the username (which does).
I've included a snapshot of the messages tab from one of my CRs. As you can see, it successfully eMails the request user through the automated processes, but when try to send a custom notification out, it uses a different format for the name and won't send an eMail.) Basically, I need the variable that returns the username not the full name...and it's odd because when you create a new Service Desk Notification, by default, it uses the $RequestUser variable, which doesn't work.
|
| Filename |
service_req_notification.JPG |
|
| Description |
Service Request Notifications |
| Filesize |
90 Kbytes
|
| Downloaded: |
32 time(s) |
|
Andrew Keppel
"if it's stupid but it works, it isn't stupid" |
|
|