hassandh
Forms Fledgling

Workflow Suspended : System.FormatException: The string was not recognized as a valid DateTime.

Hi all

I have a workflow that used to work fine, but today it started showing suspended and throwing the below error.

The error (suspension) is occurring after the user is confirming the completion of his task. It is not moving to the next state nor updating a list item value.

Any clue what is this error about and why is it showing? knowing that no date field to be submitted once completing task.

0 Kudos
Reply
4 Replies
TomaszPoszytek
Automation Master
Automation Master

Re: Workflow Suspended : System.FormatException: The string was not recognized as a valid DateTime.

Do you know which action is causing this error? Can you log to history all variables that it is setting? Do you know which "Date" variable can cause the error?

Regards,

Tomasz

0 Kudos
Reply
hassandh
Forms Fledgling

Re: Workflow Suspended : System.FormatException: The string was not recognized as a valid DateTime.

Thanks for your reply..

The error is showing just after the user is selecting "completed" then saving the task outcome form. 

More confusing factor is that in the task form there isn't any Date field! just a "completed" or "rejected" radio buttons. 

Not able to log history.  After the completion of this task the workflow should move to the next machine state, but unfortunately it is not, just suspend there.

0 Kudos
Reply
TomaszPoszytek
Automation Master
Automation Master

Re: Workflow Suspended  : System.FormatException: The string was not recognized as a valid DateTime.

Is it done via the OOTB task form or Nintex Form?

0 Kudos
Reply
hassandh
Forms Fledgling

Re: Workflow Suspended : System.FormatException: The string was not recognized as a valid DateTime.

Nintex form.

0 Kudos
Reply