Restriction of MS Teams actionable notifications only to sc_req_item table

mrudulachilli
Tera Contributor

We are implementing MS Teams integration with ServiceNow . Our client wanted to send actionable notifications to MS Teams (Approve /Reject) only for RITMs. It seems OOB business rule send these notifications for all which extends task table.
The business rule "MS Teams: VA Approval notifications" is calling the script include "MSTeamsNotificationBuilderUtilSNC" but couldnt find where can we restrict the table so that we can send approval notifications only for that table records. Please help.

5 REPLIES 5

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @mrudulachilli

Can you add conditions in the Business Rule or notification conditions by selecting Task type is sc_req_item?

 

 

Please mark the answer as helpful and correct if helped 

Kind Regards,

Ravi Chandra 

@Ravi Chandra_K 
I tried updating the condition in both notification and business rule ,but still i am receiving notifications on MS Teams for all other tables

Raguram1
ServiceNow Employee
ServiceNow Employee

@mrudulachilli what is the condition you added? the BR runs on sysapproval_approver table and doesnt restrict for task tables. You may want to choose sysapproval_approver.approval_for.task_type in the BR condition.

 

Screenshot 2024-11-08 at 12.55.06 PM.png

 

Thanks,

Ragu

Hi @Raguram1 
yes i have added the same condition on the business rule ,where the task type is requested item ,but when i tested with change request ,i see the notification coming to MS Teams for change request approval.