Hi All,
We are getting following error when submitting workflow for purchase requisition.
X++ Exception: Method 'write' in COM object of class 'DispHTMLDocument' returned error code 0x80070057 (E_INVALIDARG) which means: Invalid argument.
In the event viewer, following are more details available.
Workflow Instance ID: 007062_179 System.ServiceModel.Internals SysWorkflowMessageQueueManager-run SysWorkflowMessageQueueManager-executeTask SysWorkflowQueue-resume SysWorkflow-save SysWorkflowWorkItem-createWorkItems SysWorkflowWorkItem-create X++ Exception: Method 'write' in COM object of class 'DispHTMLDocument' returned error code 0x80070057 (E_INVALIDARG) which means: Invalid argument.
at
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.Runtime.DurableInstancing.InstancePersistenceContext.EndOuterExecute(IAsyncResult result)
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.OnPersisted(IAsyncResult result)
at System.Runtime.AsyncResult.SyncContinue(IAsyncResult result)
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.Persist()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.CollectAndMap()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.Track()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult.InitializeProvider()
at System.Activities.WorkflowApplication.UnloadOrPersistAsyncResult..ctor(WorkflowApplication instance, TimeSpan timeout, PersistenceOperation operation, Boolean isWorkflowThread, Boolean isInternalPersist, AsyncCallback callback, Object state)
at System.Activities.WorkflowApplication.IdleEventHandler.OnStage1Complete(IAsyncResult lastResult, WorkflowApplication application, Boolean isStillSync)
at System.Activities.WorkflowApplication.IdleEventHandler.Run(WorkflowApplication instance)
at System.Activities.WorkflowApplication.OnNotifyPaused()
Can anyone help on this error