DineshKumaR6579
Kilo Sage

Recently we have worked on very interesting task with less coding.

When someone deleting their record from table we need to send email to same respective user through Before Delete Business rule and Event and Notifications.

1) Create One Event Registry :

2) Business Rule : Before -  , Delete : True

 

(function executeRule(current, previous /*null when async*/) {

var deleteRecord=current..email; //(as per table field reference value we need to parse Email)
//gs.addInfoMessage(current.u_user.sys_id);
gs.eventQueue('Event Registry Name',null,deleteRecord);
//gs.addInfoMessage(deleteRecord);
})(current, previous);

3) Notification On Event Fired :

 

When to Run :

Who will Receive :

 

 

What will contain :

Your Email Body your wish πŸ™‚

 

Mark βœ… Correct if this πŸ‘ Helpful.

 

Regards,

RDK.

Version history
Last update:
β€Ž01-17-2020 11:54 AM
Updated by: