web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Object could not be created as you run Workflow Infrastructure configuration | D3FO

Sohaib Cheema Profile Picture Sohaib Cheema 48,823 User Group Leader

The nasty error was coming up, every time workflow infrastructure configuration form was being run. I thought of something wrong with object (X++), but debugging revealed that it is BAD DATA. Not sure why it happened, probably someone messed up with deletion of existing companies of demo data or something else like that; I got what I was provided to debug. The error message itself is ambiguous. How a functional consultant or end user will know what is meant by ‘object could not be created’

 

If you are facing this issue first of all get class Id of following three classes. Each class in AX has a name and an ID. A technical person, here may say that things don’t work in Dynamics 365 with object Id(s) but that’s not the case here. So get the class id of following three classes.

  1. SysWorkflowMessageQueueManager //let’s say its ID came as 123456789

  2. WorkflowWorkItemDueDateJob //let’s say its ID came as 456789123

  3. SysWorkflowNotificationManager //let’s say its ID came as 789123456

     

    Run following queries to clear existing data related to batch jobs

Delete from BatchJob
Where caption like 'workflow%'

Delete from Batch 
Where Batch.ClassNumber = 123456789

Delete from Batch
Where Batch. ClassNumber = 456789123

Delete from Batch
Where Batch. ClassNumber = 789123456


Once done, re-run Workflow infrastructure configuration and this time it should allow you selections as well as proceeding.

Comments

*This post is locked for comments