Not sure if that is the correct way to phrase this question, so let me explain what I'm trying to do...BTW, I'm using ASP.NET for all of my front end interface.
In my process I want to allow an approver to select a radio button "Rework needed" which will send the process back to the originator to make changes to their form. All parts of this work fine except when it comes to the originator uploading documents.
If they originally did not upload any documents, the process works fine when it's redirected to them and allows them to upload documents. The process also works fine if it's redirected to the originator and they do not try to upload any documents on this pass. The only problem comes when they uploaded a document(s) initially, then it's redirected back to them, and then they try to upload documents again.
In my K2 process, I use a binary field to hold the uploaded document, then use a Sharepoint Document event to upload it to Sharepoint, then set the field equal to Nothing to clear it out and not bloat the process with this information.
When I try to debug my ASP code through Visual Studio, everything goes fine until I hit the procInst.Update() line. The error given is "4129 A database error occured : Data is Null. This method or property cannot be called on Null values. "
Can anyone help?