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.

triggering notification through workflow

nameisnani
Mega Sage

Hi Team 

 

@Sujatha V M  

 

I want to trigger notification from WF . 

 

after the line manager approval , notification has to be trigger to specific members .

 

nameisnani_1-1719819010162.png

 

 

Subject: <Short description>  ( Short description we are using from variable set )

 

Body

 

"A lost or stolen device has been reported by" <Requested For>
The device was lost or stolen on <Date item was Lost/Stolen>
[Blank Line]
"Description:" <Description> (  Description we are using from variable set )

 

Catalog variables 

nameisnani_0-1719818885900.png

 

 

Notification has to be look like this 

nameisnani_2-1719819156756.png

 

 

please help me in the configuration . 

please provide screenshots for more better understanding .

 

@SN_Learn 

@Ankur Bawiskar 

1 REPLY 1

Sujatha V M
Kilo Patron
Kilo Patron

@nameisnani  Requesting you to use "Flow Designer" instead of legacy "Workflow"

 

Please find the implementation steps below, 

 

1. Navigate to System Policy -> Events -> Registry and create a registry. 

 

SujathaVM_1-1720282797664.png

 

 

2. Created a simple line manager workflow for your issue which triggers the notification post approval. 

 

SujathaVM_0-1720282653150.png

 

Event activity on the workflow and tag the event registry created in step - 1.

 

SujathaVM_2-1720282885258.png

 

3. Create a notification and select "Send When" as "Event is fired" and under the "Who will receive" tab with your users list. 

 

Note: You can add the notification on the workflow also. 

 

SujathaVM_3-1720283009804.png

 

SujathaVM_4-1720283050371.png

 

In "What it will contain" tab, add the content probably use notification email scripts to populate the variables of the catalog item to reuse it for different notifications. 

 

SujathaVM_5-1720283091679.png

 

 

Results : Post approval, the email is triggered. 

 

SujathaVM_6-1720283200491.png

 

Preview of the email, 

SujathaVM_7-1720283241848.png

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.