web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Why Modified On and Modified By is always being updated?

(0) ShareShare
ReportReport
Posted on by 1,425

I have a plugin which runs on Pre Validation, where on update of the Status field, the Modified On and Modified By of the record should not be updated. We set the statuscode and statusreason as Filtering attributes of the plugin step and removing of the Modified On and Modified By fields from the attributes to update so those fields will not be included in the update. 

This smoothly worked when we're updating other fields aside from the status fields.The issue only happen when updating the status.

Any ideas why does this happen or what can we consider with our approach? 

Thanks in advance!

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    As far as I know, modified on will be updated always irrespective of which field is getting updated.

  • David Jennaway Profile Picture
    14,065 on at

    Status (statecode and statuscode) values can be changed either via an Update message, or a SetState message. So, one thing to check is whether the plugin on the Update message is firing at all, as it probably won't on a SetState

    I'd also try registering the plugin on the Pre-operation stage, rather than Pre-validation. Some internal changes happen between these stages (and it could be that a SetState on Pre-validation is turned into an Update on Pre-operation )

  • Suggested answer
    arif imteyaz Profile Picture
    375 on at

    This is beautiful function in CRM,if any thing change in existing then modified by and date will change.

    its is very part for Bank. otherwise its difficult to trace the transaction

  • Suggested answer
    gupta.ambar2009@gmail.com Profile Picture
    797 on at

    Hello,

    Modified on ,by get change in case of any field get change in the entity.

    seems you need to change your logic depending on modified on or by to any other field or with some filter criteria.

    Regards

    Ambar

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans