Disable additional comments notification for ritm when added sctask comments.

suresh40
Tera Contributor

Hi All,

 

Disable additional comments notification for ritm when added sctask comments Added. I have written business rule  script to copy sc task comments in Ritm its working fine. Now my requirement while coping sctask comments to ritm no need to send ritm notification to users . Please help me on this. 

 

 

Thanks, 

Suresh

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you saying you don't want email only when the comments are copied from sc_task to RITM but require when normal comments are added?

I believe for copying you must have done GlideRecord update on RITM.

In that you can use setWorkflow(false) to disable notification.

Note: Using setWorkflow(false) will block all BRs from running on update of RITM

Regards
Ankur

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

View solution in original post

8 REPLIES 8

Hi,

BR is written on sc_task right to copy comments to RITM

So I didn't get what's the issue

Regards
Ankur

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

Hi

Comments has to copy from Sctask to Ritm , But email has not to trigger while coping the comments.

Hi,

so when you use setWorkflow(false) what's the issue? It won't trigger any further BR on RITM

Regards
Ankur

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

Abhay Kumar1
Giga Sage

HI, navigate to 'System Notification-> Notifications' , select table 'sc_req_item' and then filter your notification which triggers for comments and make it inactive there .