Format a null date without an extra variable?

  • 17 August 2017
  • 2 replies
  • 46 views

Userlevel 3
Badge +9

Trying to send an email that has a null date referenced (it will be filled out later in the process), but when I try to include it , it always displays as 01/01/0001 or Monday, January 1, 0001.

 

I can do a separate Run If and set variable to define it as null, but is there a way to just not display it, or format it better if it is null just by setting the value?


2 replies

Userlevel 5
Badge +13

The only way I know of is a runIf or conditional where you set the variable or change the email. I don't know of a way to format the "null" of a date field and the 01/01/0001 is consistent throughout SharePoint so I think it's just a SharePoint thing, unfortunately. 

Someone else may chime in with something better!

Badge +9

Hi ‌,

Agreed with Courtney Vargo‌ and here is another way to clear date field value How to Clear a Date Field in a Nintex Workflow - SharePoint MMMan . Can you update date field value and send notification after that.

Thanks,

Reply