send email notification using previous value

Ni Li
Tera Contributor

Does anyone know there is a way to trigger email notification/action programmatically via business rule?

 

The reason I'm asking is that when setting email notification in Notification, the state changes I would like to trigger the who to send in the notification may have cleared the column of the destination, but in business rule, the value I would like to retrieve value is coming from eg. previous.my_column.

 

Alternatively, is there a way to access previous.my_column in email script? 

6 REPLIES 6

@Ni Li 

 

Yes, You can use either of previous or current object in the eventQueue. You can do any other validations needed in the Business rule like checking if the value in column is wiped or not and then accordingly trigger the event using eventQueue method

Hi Manmohan, how to send previous values of multiple fields in the email body? Thanks.