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

Chandresh
Tera Guru

Hi Musab,



Please check below BR which is triggering the event for your notification. You can use request.approval.inserted if you want to trigger notification for Request. Go through this BR once. It will make the picture clear to you.


find_real_file.png


Thanks a lot. let me test it with simpler solution first..:). 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

Using that BR i cannot trigger event for Requested item. my requirement is to trigger event for only Requested item. currently what is happening is it is triggering notification twice. because i have create one notification using approval.inserted event whereas there is one system defined notification which is also triggering due to same event. how can i restrict this? I'm getting two notification for my catalog item instead of one


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

Hi Chandresh,



I am having the same issue. Do i need to add conditions in this business rule for the RITM table and use the request.approval.inserted.?



My issue is i want to add fields to the Approval Notification for Changes which wont be applicable to the RITM Approvals.



find_real_file.png


DilipKumar DJ
Kilo Guru

Hi Musab,



In your notification, you can use condition something like this to block it triggering for Change Tickets.



find_real_file.png