| Author |
Message |
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 26/06/2012 12:26:14
|
Fremont
SysAider
Joined: 16/09/2008
Messages: 29
Offline
|
I know you can modify the subject of a notification.
What I would like to do is change the wording of the subject when sr has been assigned to a technician.
Right now, the subject says "You have been assigned...."
I do not know who "You" is, it could be me, it could be tech 1, or tech 2, etc...
I would like the subject to say:
Tech X (or Joe Smith) has been assigned to service request XXXX.
This way I know who has been assigned to it.
I found a line in the translate file that says: sr.notif.action.assigned=You have been assigned a Service Request #{0, number, integer}
Is there a way to put another parameter in there for the technician??? Something like this:
sr.notif.action.assigned={0, XXXX, XXXX} been assigned a Service Request #{0, number, integer}
Where the first parameter {0, XXXX, XXXX} would print the name of the technician that has been assigned to the sr opposed to the word "you".
Thanks.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/06/2012 06:14:02
|
sivanm
SysAid Product Manager

Joined: 14/03/2010
Messages: 293
Offline
|
You can customize the subject of notifications.
Go to Customize | Notification, select the “Email subject to administrator regarding a Service Request”.
And replace the text with the following string:
${AssignedTo} has been assigned to service request #${ID}
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 27/06/2012 12:57:51
|
Fremont
SysAider
Joined: 16/09/2008
Messages: 29
Offline
|
Won't that change the subject for every email that goes to the administrators?
I only want to change the one that references assigned to.
This is from the translation file:
sr.notif.action.assigned
I have tried this:
sr.notif.action.assigned=#{user} has been assigned a Service Request #{0,number,integer}
and this:
sr.notif.action.assigned=${user} has been assigned a Service Request #{0,number,integer}
When I do that, all the subject says is:
sr.notif.action.assigned
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 28/06/2012 12:51:17
|
Fremont
SysAider
Joined: 16/09/2008
Messages: 29
Offline
|
Would something like this work?
Is it possible to put something like this in the "Notification Subject to Admin"?
#if(${resource} == "sr.notif.action.assigned")
${user}${ActionNotification}
#end
#if(${resource} != "sr.notif.action.assigned")
${ActionNotification}
#end
The above does not work, but maybe something along those lines?
Are they method options for ${resource} that we could get the "tag" from the translate file and check against that?
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 28/06/2012 18:22:06
|
David Lee
SysAid Customer Relations

Joined: 24/06/2009
Messages: 40
Offline
|
To answer by order of appearance :
Yes, changing the title as Sivan suggested will change it for all Admin notifications.
No, your suggestion will not work as such complex script will not fit into that field.
But, to answer the original question: in; "You have been assigned...." The "You" is the person who gets the email, as the notification is sent to the person who has been assigned to the Service Request (SR).
If an Admin group is assigned to the SR then they are all considered 'Assigned' and will all get the notification, meaning 'You' still applies.
In conclusion; I would simply suggest to add the ${AssignedTo} variable to the body of the message at the top, leaving the title as it was be default.
So if you are interested to know who the assignee is, you will be able to see it in the body of the email.
Hope this helps.
|
|
|
![[Post New]](/Sysforums/templates/default/images/icon_minipost_new.gif) 28/06/2012 18:44:53
|
Fremont
SysAider
Joined: 16/09/2008
Messages: 29
Offline
|
Thanks for your response.
I see what you are saying now, which makes me question my original question....
We already put the name of the assigned user in the body of the email, I guess I was looking for a matter of convenience, or laziness. I would like to see who is assigned to what without having to open each email…
The reason I am seeing them all right now, is that every SR automatically get the IT Group assigned to it (I believe that is the only way we could get notifications to everybody), therefore the assigned to is being sent to everybody, and it just confusing when it says "you", but I do understand how it still applies, since I am part of the admin group and the admin group is assigned to it.
|
|
|