Notification method for requested items

翔太佐
Tera Contributor

I would like to know how to include the contents of variables entered by the user in the request item in the notification.

*The contents of the variables vary depending on the catalog.

_0-1747203937696.png

 

4 REPLIES 4

Arun_Manoj
Mega Sage

Hi @翔太佐 ,

 

please go through the give link

https://www.servicenow.com/community/developer-forum/how-to-trigger-notification-from-workflow/m-p/1...

 

You can trigger the notification from the workflow or flow , from there you can access the variables in the catalog item.

 

thanks

Arun

Ankur Bawiskar
Tera Patron
Tera Patron

@翔太佐 

you can use this syntax to fetch the variable value in RITM notification email body

${variables.variableName}

You can have different notifications for different catalog item and use that in condition field

AnkurBawiskar_2-1747205478983.png

 

RITM with that variable

AnkurBawiskar_1-1747205424303.png

Output: RITM selected and it showed the variable value

AnkurBawiskar_0-1747205308681.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

翔太佐
Tera Contributor

@Ankur Bawiskar 

 

Thank you for your answer.

Do you know how to create one notification that works for all catalog items, rather than creating one for each catalog item? *I think I'd need to write a script.

@翔太佐 

simply configure the notification on sc_req_item table and don't give any condition for particular catalog item

The notification will trigger on RITMs associated with different catalog items as well.

I believe I have answered your question.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader