Home    Forums    Feature Requests    Beta Issues    SysAid Resources    Documentation    Support
Hello Guest,  Login   
        
DOWNLOAD FREE EDITION
    
     Recent Topics    Hottest Topics    Online Members    Member Listing    Advanced Search
Trouble with outbound custom notification syntax help please!  XML
Forum Index » Helpdesk
 
Author Message
amyskitchen
Super SysAider

SysAider from release 6 United States Pathfinder SysAid Certified
Joined: 11/09/2009
Messages: 88
Location: Petaluma, California
Offline

We've set up a new SysAid server for another group in our company. I'm having an issue where outbound custom notifications (triggered on open and closed status) end up as a blank email for the end user.

I'm sure it's just a matter of syntax as the default notification works like a charm. Can someone please check my syntax on this?




#if(${isClosedSR}==true && ${LinkToSurvey} && ${LinkToSurvey}!="" )
Hello ${RequestUser},

This is to inform you that your recent Sales Support ticket has been closed. If you need further assistance on this item, please contact the admin assigned to this ticket (${AssignedToFirstName}).


********************************************
Ticket Details

Title: ${Title}
Date Opened: ${SubmitTime}
Due Date: ${DueDateOnly}

Category: ${SubCategory}
Subcategory: ${ThirdLevelCategory}

Sale Support Admin: ${AssignedToFirstName} ${AssignedToLastName}

Resolution:
${Resolution}

*******************************************

Sincerely,

The Amy's Sales Support Team


#else
${StatusNotification}

Hello ${RequestUser},

The Sales Support team has received your recent request regarding: ${Title}.

We will do our best to close this item on or before the due date below. If you do not see a due date below, please reply back to this email with one.

Please contact the admin assigned to this request directly with any additional information or questions.

-------------------------------------------
Ticket Detals:

Due Date: ${DueDateOnly}

Title: ${Title}

Sales Support Admin: ${AssignedToFirstName} ${AssignedToLastName}

Category: ${SubCategory}
Subcategory: ${ThirdLevelCategory}

------------------------------------------

Sincerely,

The Amy's Sales Support Team


#end
#if( ${LinkToAttachments} && ${LinkToAttachments}!="" )
Attachments: ${LinkToAttachments}
#end

#end
aim icon
amyskitchen
Super SysAider

SysAider from release 6 United States Pathfinder SysAid Certified
Joined: 11/09/2009
Messages: 88
Location: Petaluma, California
Offline

Bump? I could really use some help on this if someone can take a few and look?
aim icon
untricky
SysAider


SysAider from release 7.5 Australia
Joined: 18/04/2012
Messages: 13
Offline

I think you may have one too many #end statements.

Also check the sysaid log file, it will have an error message with the expression that is missing or has no corresponding start/finish.

I think it may even show which line has the missing part.
untricky
SysAider


SysAider from release 7.5 Australia
Joined: 18/04/2012
Messages: 13
Offline

Something like:

ERROR com.ilient - Exception in ServiceRequestLogger: Encountered "</td></tr></table>\r\n<strong>Category:</strong> " at line 16, column 43.
Was expecting one of:
"}" ...
<DOT> ...
sarah
SysAid CEO


Meet me in Vegas - SysAid technology Conference - 28-30/4/2010
Joined: 14/04/2008
Messages: 547
Offline

Hello,
I think your if statement is not correct as you should refer to a status like you can see in my example:

(#if( ${Status}=="New"
I think your email come up empty because there is no reference to status.
#if(${isClosedSR}==true && ${LinkToSurvey} && ${LinkToSurvey}!="" )
Please change to
${LinkToSurvey} (#if( ${Status}=="close"
Also please make sure that every #if has an #end to close the statement.
If this doesn’t help please let me know what you wish to achieve I will be happy to help.
Thanks
Sarah
amyskitchen
Super SysAider

SysAider from release 6 United States Pathfinder SysAid Certified
Joined: 11/09/2009
Messages: 88
Location: Petaluma, California
Offline

I have tried to clean this up somewhat, but we still get blank emails, what am I missing?




#if(${Status}=="Open")

Hello ${RequestUser},

The Sales Support team has received your recent request regarding: ${Title}.
We will do our best to close this item on or before the due date below. If you do not see a due date below, please reply back to this email with one.

Please contact the admin assigned to this request directly with any additional information or questions.

#elseif(${Status}=="Closed")

This is to inform you that your recent Sales Support ticket has been closed. If you need further assistance on this item, please contact the admin assigned to this ticket, (${AssignedToFirstName}).

#else
${StatusNotification}
#end

Title: ${Title}
Date Opened: ${SubmitTime}
Due Date: ${DueDateOnly}

Sales Support Admin: ${AssignedToFirstName} ${AssignedToLastName}

#if($Solution} && ${Solution}!="")
#end
aim icon
Forum Index » Helpdesk
Go to:   
Help Desk Software
Free Help Desk Software
Free Asset Management Software
SysAid Helpdesk Software
Web Based Help Desk Software
SysAid Help Desk Forum
General IT Discussion Forum
SysAid CSS Customer Service Software
Customer Support Software
   SysAid Technologies Ltd.
   Toll-Free phone center (U.S.): 1-800-686-7047
   Offices - U.S.617-231-0124
   Israel:+972-3-533-3675
   Email:helpdesk@sysaid.com
   Optimized by SEO Israel
   SysAid logos and other SysAid Technologies marks
   are trademarks or registered trademarks of
   SysAid Technologies Ltd.
   All Rights Reserved by SysAid Technologies Ltd.
   2002-2011
   Live Support Hours
   07:00 AM - 09:30 PM (UK)
   03:00 AM - 05:30 PM (EDT)

   We provide worldwide services, and we do our best
   to match the working times of customers from
   different time zones.

   SysAid Help Desk Software and Asset Management Software
Privacy Policy © Terms Of Use