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 :
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

I have the same question (0)
  • Suggested answer
    tw0sh3ds Profile Picture
    5,600 on at

    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

  • Suggested answer
    Iswarya Profile Picture
    1,347 on at

    Hi,

    you can try window service for this one

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans