Is there any general way to temporarily stop a notification from being sent when updating a single record?

PerV
Kilo Sage

Hi all!

I have a requirement as follows: When a catalog task is updated and resolved, I want to update the associated service request with a specific text in external comments. Nothing strange with that.

The challenge is that on the request table we have notifications that I don´t want to trigger. The base is, of course, to let a BR on sc_task do the update on change to closed, but how do I prevent the notification to trigger?

//Per

 

3 REPLIES 3

asifnoor
Kilo Patron

In the notification, you can add a condition where you can use the associated service text column with the text that you have added. 

Here is an example, you can try.find_real_file.png

 

 

Yes, of course you can do that. I was looking for a solution that did not involve setting conditions on each notification record, rather a general scriptable way to temporarily disable notifications, like setWorkflow(false) to not trigger BR etc. Maybe this is the only way, in that case I need to do so.

UPDATE: Thanks for your input, asifnoor, I should have mentioned that I am aware of how it can be done with conditions but was looking for something different.

/Per

Okay, not a problem.