will closing bulk sctask with workflow false still trigger notification of RITM and REQ on autoclose

saint
Tera Expert

How to bulk close sc_task records without triggering closure emails on RITM (sc_req_item) and REQ (sc_request)

1 ACCEPTED SOLUTION

Hi @saint 

 

Then go for workaround. 

Identify which notification is getting trigger.

When you raise change to do this activity in prod in business off hour,

Update instruction as 

1.  deactivate notification A, Notification B etc.

2. Run fix script  -> completed

3. Activate  notification A, Notification B etc.

 

Or else

 

Raise a case (Hi ticket) to know why Notification triggering is not getting stop even after  using setUseEngines(false) AND SerWorkflow(false).

 

 

 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

10 REPLIES 10

Hello @saint,  could you please confirm whether any email from the sc task was triggered?

 - as a next step, if possible, could you try to disable the notification running on respective table for sometime and then close? enable them once job is done

- if no, then I'll share a script based on your response and lets try that. But, if you can modify the condition of notifications running against desired table or disable them momentary, will be good.

 

Regards,

Nishant