Skip to main content
Nintex Community Menu Bar

Workflow Fails to Parse Date/Time Variable

  • March 26, 2021
  • 0 replies
  • 252 views
  • Translate

Forum|alt.badge.img+9

Issue

 

When using a Date Time variable in a Workflow, the workflow might fail, generating multiple instances of the following error in ULS logs:

 

Nintex.Workflow.NWException: Failed to parse DateTime workflow variable into formatted string. Date is: <date and time>

 

Error Code

 

Nintex.Workflow.NWException: Failed to parse DateTime workflow variable into formatted string. Date is: 30/07/0029 00:00:00 ---> Microsoft.SharePoint.SPException: Cannot complete this action. Please try again. ---> System.Runtime.InteropServices.COMException: Cannot complete this action. Please try again.0x80004005 at Microsoft.SharePoint.Library.SPRequestInternalClass.TZConvertDate(Int64& pdate, Boolean bToLocalTime, UInt16 wTimeZoneID) at Microsoft.SharePoint.Library.SPRequest.TZConvertDate(Int64& pdate, Boolean bToLocalTime, UInt16 wTimeZoneID) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.TZConvertDate(Int... 23b00b9e-6d2c-a042-07b4-9a57ddcdc856

 

Resolution


Make sure to have a date within the accepted range. By design SharePoint will not accept dates before 01/01/1900 or after 31/12/8900

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings