• Corruption poorly reported

    By Sjef Bosman 2 decades ago

    Some workflow didn't perform as it should have. I got the error "Object variable not set at line 114" in module FormProcessWorkflow. I did some debugging, and found that ActionDoc was Nothing. This was caused by having the wrong value in the First action field of the Workflow document: the reference was obsolete, something was not correctly modified (I think) when I copied/pasted documents. Me bad, of course.



    Suggestion: on line 114, please check if ActionDoc is Nothing, and if so, report an error that a consistency check of the database is required. By the way, I don't know whether executing the consistency check would have corrected or reported this problem. The solution was to open the workflow, clear the first action, save & close the document, reopen it, reselect the intended first action, and save & close.