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

Notifications

Announcements

No record found.

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,421

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans