Tuesday, December 15, 2015

“WorkFlow Infrastructure Configuration Wizard” Wrong argument type for function.

I had an issue, where, when i try to open the “WorkFlow Infrastructure Configuration Wizard”. The Wizard does not come up instead I get the following error:

Error executing code: Wrong argument type for function.

(C)\Classes\WorkflowSetupWizard\new – line 75
(C)\Classes\WorkflowSetupWizard\construct – line 3
(C)\Classes\WorkflowSetupWizard\main – line 3

I compiled all these classes and there were no changes made to these classes. 

It turns out that the reason it fails is due to corrupted batch data records in the batch table from a previous run of the wizard. I deleted the three Workflow batch records from the Batch table in the AOT. And try to run the wizard again and that solved the error.

No comments:

Post a Comment