The CreatorCon Call for Content is officially open! Get started here.

How to get previous and current value of string field only using email script

lakshmi_laksh
Tera Contributor

Hello,

I am having requirement that I need to show previous and changed current value of name field only via email script for notification purpose, (cannot use event)
anyone aware solution for this requirement, please help me 
Thank you,

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi @lakshmi_laksh 

this is only possible in case the field you want to retrieve past values from is audited. In that case you can use the HistoryWalker API to go back in past and retrieve previous values.

See https://www.youtube.com/watch?v=jsrE7tgBmvk 

Maik

In this video, I go through this cool API, which is really there for you when you need to look at a record's history. And to avoid digging into sys_audit and all other fun stuff, it does the work for you. I also show you how to build your own related list that you can use on a record form. Video ...