AX2009 EP Error : Failed to find workflow configuration.
Error : Failed to find workflow configuration. This error comes when a configuration is deleted from the workflow, but refrence is still there in the workflowworkitem table so we have to delete it by running a job. Job :- static void deleteJunkWorkflowWorkItems(Args _args) { WorkflowWorkItemTable wrkItemTable,wrkItemTable1; WorkflowConfigurationTable workflowConfTable; while select wrkItemTable where wrkItemTable.UserId == 'XXX(Admin)' { select workflowConfTable where workflowConfTable.ConfigurationId != wrkItemTable.ConfigurationId; info(strfmt('%1,%2,%3',workflowConfTable.TemplateName,wrkItemTable.ConfigurationId,workflowConfTable.dataAreaId)); delete_from wrkItemTable1 where wrkItemTable1.RecId == wrkItemTable.RecId; } }