Let's say I have a field in my document definition called myField
After recognition and verification, I have a custom stage -document script with the following line. The document enters the stage, but there seems to be a problem in deleting region of myField which got created at the time of verification stage.
I get the below error from processing server.
Document 1: Routing script error: System.Runtime.InteropServices.COMException (0x80004005): Cannot modify object data from this script.
at Main.Execute(IDocument Document, IRoutingRuleResult Result)