Changing the SNOW Email notification "From" or Reply TO depending on Departments.

EricG
Kilo Sage

I have a need, depending on WHO is working a ticket, to change the From and Reply To USER to the appropriate email.

 

Use Case:

If the Finance group is working the ticket, then the From / Replay should show "Finance Department <finance@company.com>".

Or our Security Group, then "Security <security@company.com>", etc...

 

I've attempted to use the OOB From and Reply To fields, as well as, adding a mail script:

if(current.assignment_group =="guid_id"{
     email.sentFrom("My Group <group_queue@company.com>");
}
else if(current.assignment_group =="guid_id2"{
     email.sentFrom("My Group <group_queue2@company.com>");
}
etc....

 

Either way i sent this, the system show the Notification in the SENT mailbox, however, I never receive the email.  If i remove this, then it sends.

 

Should I contact HI or is there a property/BR/SOMETHING that is not allowing the email to go out.

 

THanks.

5 REPLIES 5

Yeah, I checked that too.   Nope it is blank.

Even made sure it was a VALID email that our company owns.