abort notification if company custom field is false

kunalgulati
Tera Contributor

Hi Team,

 

We have created a custom field on company table named "notification required"(check box). company field dependent on caller .If check box if false then abort any notification (restrict record to create in email table) from incident and if check box is true then fire notification?

 

2 REPLIES 2

Manikanta_Sanga
Tera Expert

Write a before insert & update business rule with condition as "caller_id" is populated, then
if false - abort the action within BR
if true - follow notification process - trigger an event, send the notification on. 

Happy Learning,
Manikanta Sanga

When user company enable notification is true , then only send notification other wise abort it