Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Update entity record with Current date

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I have a requirement in D365 Online instance, i have a date field with past date and another field with current date. i need to trigger a plugin everyday at sometime and check the current date based on that i need to update particular entity active records and calculate the diff in days between Past date field and current date to get the value and populate in another field.

Need some inputs like how to proceed to get this done.

Thanks in Advance.

*This post is locked for comments

  • Suggested answer
    Iswarya Profile Picture
    Iswarya 1,345 on at
    RE: Update entity record with Current date

    Hi,

    you can try window service for this one

  • Suggested answer
    tw0sh3ds Profile Picture
    tw0sh3ds 5,600 on at
    RE: Update entity record with Current date

    The easiest way to achieve your goal is to use Calculated fields:

    technet.microsoft.com/.../dn832103.aspx

    If by any means you can't use calculated fields, create an app that will trigger the proper logic for you periodically, or put your plugin on Delete message and schedule a Bulk Delete job for example:

    www.itaintboring.com/.../recurring-workflows-in-dynamics-crm

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans