Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Is there an "Old" function

Posted on by Microsoft Employee

Hi. Suppose I have a Process to emailusers about some changes in an entity. I can access the New (updated) value but is there a way to also include the Old value of a field (same as how it was in AWA)?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there an "Old" function

    I have been thinking of this. On my Entities I am activating the Auditing, therefore Old value of any field will be available in the Audit History. Now how to access the audit history from within the process designer or from business rules or even Flow designer?

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Is there an "Old" function

    Hi

    I am not sure if you will be able to achive this without custom code or third party solutions

    You can do this using two ways,

    01. You can send the email from a Plugin - In a plugin you can get both Pre and Post data copy as entity images - You can then use values from both in your email to send email with the changes

    02. One other option would be to get the audit history, which will have old and new values and you can include that in an email

    If the change you are talking about is just one or two field,  you could just copy the current value to old value using a business rule or workflow and include values from both fields in your email

  • Johnny Gong Profile Picture
    Johnny Gong 6,482 on at
    RE: Is there an "Old" function

    Hi YahyaM,

    Sorry, you could not realize this as all steps are triggered after record field is changed which is after field saved from demo. 

    Field-Data.PNG

    Field-Data.PNG

    Best Regards

    Johnny

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans