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,...
Answered

How to set a default for a date in a workflow NOT JAVASCRIPT

(0) ShareShare
ReportReport
Posted on by 443

When using dynamic values to populate fields in the Update record Action on a CRM workflow you get this:

There are fields show for setting a default.

pastedimage1683808650252v3.png

However,  those fields are always inactive.  not useable.  no matter what I select those fields cannot be used.

QUESTION: Is it possible to set a fixed date or date/time (12/31/9999) into a date field in a CRM workflow?

I know how to do it with Javascript or a business rule.  This is probably just another of the many things that M$ just did not address when creating Dynamics 365.

I have the same question (0)
  • Verified answer
    Ray Profile Picture
    1,537 on at

    Have you tried set the Default value to "12/30/9999"? I tried with "12/31/9999" and it says this is not a valid date.

    "12/30/9999" works for me:

    pastedimage1683876235307v1.png

  • urklnme Profile Picture
    443 on at

    Thank you for your reply.

    My apologies.  I had marked the field as read-only.  So, one cannot set a value for a field that is read-only in a workflow.

    So dumb of me and Microsoft.  

    That is really weird that there is not a December 31st for the year 9999.  now I am like well 12/30/9999 just doesnt look right :D  I guess to eliminate thepossibility of bad arithmetic comparisons like greater than.  

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
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans