Approval Request Change Notiffication

mmotran
Mega Contributor

Hello, I need help adding change request type (Normal,Emergency,Exception) in the subject line of the email.

Note: Exception is a checkbox: "u_exception" and Change type field is: "type" when I added in the subject line ${sysapproval.type} it displayed Normal for both normal and exception because exception is a checkbox that if checked then it should display as exception not normal.

someone told me I should do that within a mail script then call that mail script in your email body not in the subject line. not sure how to write this logic.

1 REPLY 1

Mohammed8
Tera Sage

Hi @mmotran

Yes suggested approach is right one.

If you are going with approach of using mail script , you can set subject by using script in email body, you can refer to this community answer

https://www.servicenow.com/community/itsm-forum/how-can-i-add-a-mail-script-to-the-subject-line/td-p...

 

Thanks and Regards,

Mohammed Zakir