How to get previous and current value of string field only using email script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-20-2023 03:45 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-20-2023 03:50 AM
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 ...