The CreatorCon Call for Content is officially open! Get started here.

Need to set up approval notification for requested item

Musab Rasheed
Tera Sage

Hi Folks,

I need to setup approval notification for my catalog item. currently I have configured one notification which is running on Sys approval table and event i have selected is 'approval.inserted' but the problem is this notification is triggering for change request as well. kindly help me on this. it's very urgent.

Below is the screenshot of things i need to include in my email template. suggest me how can i include few things from SC_REQUEST as well. thanks

Capture.PNG

Please hit like and mark my response as correct if that helps
Regards,
Musab
19 REPLIES 19

Thanks a lot. let me test it..:). moreover for including request or requested item details in email body i need to create email template and in that i need to add code right.? can you see above screenshot and suggest me if you have any sample code that would be helpful for me.


Please hit like and mark my response as correct if that helps
Regards,
Musab

Yes you can write email template on sc_req_item table and get the values



http://wiki.servicenow.com/index.php?title=Email_Templates#gsc.tab=0


Regards
Harish

Thanks a lot , one last question. I'm creating email template and selecting table as 'Sysapproval' . I'm i doing correct or i can select Requested Item table name and start fetching information using picker. please guide.



Capture.PNG


Please hit like and mark my response as correct if that helps
Regards,
Musab

you need to get the values from request item table not approver table so table would be sc_req_item.


Regards
Harish

Hi Harish,



Thanks for lot for the response. but i have one more doubt here. i need to trigger notification for only one catalog item. how can i do this. in condition builder I'm not finding anything can you help me on this below is the screenshot.



Capture.PNG


Please hit like and mark my response as correct if that helps
Regards,
Musab