Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Different approval notifications for Change Request

iamright
Giga Contributor

I have notifications built around sending a request for change.   In the notification, I have it generated from the approval table so that they can approve from an email.  

I originally set up a notification that is:

Table: Approval (sysapproval_approval)

When to send: Approval for - starts with - CHG

Who: Approver

What to send: pre-defined template

Set up this way allows any designated approver for a particular change type gets a notification for change.   I've done this setup for Emergency and Normal change request.  

The issue is that we now have another department (content change) with a completely different set of required fields using the same change / approval process.   I can't figure out how to get a different "what to send" out to the other department.  

I want emergency changes to be able to approve changes from an email. This means the notification must come from the approval table.     I want content changers not to approve via an email, but a URL to the portal (portal already created).  

I have tried these notifications:

When to send: Approval for - starts with - CHG
                                                Approval for.ChangeRequest.Type is Emergency
                                                Who: Approver
                                                  (create a different what to send text)

When to send: Approval for - starts with - CHG

                                                Approval for.ChangeRequest.Type is Content Change

                                                Who: Approver

                                                  (create a different what to send text)

---Notifications never fire (added on insert)

I have tried auto assigning change request to an Emergency Change group, then set up Approval for. group assignment - Emergency Change Group

---Notifications never fire

I've racked my brain and tried so many different options that I can't remember all the different set ups.   Any advice would be appreciated. Sorry if this is confusing.

1 REPLY 1

ashwinkumar_pat
Giga Expert

Hello Mathew,



I guess your requirement can be fulfilled with this - Scripting for email notifications




~@$#