I'm using Nintex workflow in O365, and am getting the following error when the user tries to complete a task:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Nintex.Forms.SharePoint.Exceptions.UserException: Error in task. Input string was not in a correct format.
[UserException: Error in task. Input string was not in a correct format.]
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274
I'm using a custom Nintex form and I've stripped everything out of it accept the fields that populate the basic task name, body, and comments fields of the Workflow Tasks list using the default controls.
Also, I use Assign Task actions elsewhere in the workflow that work almost exactly the same, writing to the same list. It is only this one instance that is failing. I have also tried rebuilding the task action and form in the same place, but it still fails.
Has anyone run across or fixed this problem before?
I figured this out through trial and error.
The task that was failing was intended to always use the default outcome, since it was just submitting information. However, Nintex Forms submits as null instead of the default if there isn't a field in the form, and the hidden field had gotten deleted at some point. I put it back in and it fixed the issue.
Thanks to everyone who looked into this.