New Class instance not picking up enforced workflow

I opened a ticket on this, but the community might be the better option.

I have an application that splits an MS Excel document into several different documents and uploads them to M-Files using the COM API. Everything works fine with creating the document. The fly in the ointment is that the document with the class does not pick up the enforced workflow.

The metadata for the class is:
Here is the results of the upload:
We can open the file fine, but there is no workflow associated with the document.
As a side note, we have a wrapper library built to encapsulate the COM API functionality.
What are we doing wrong?
Parents Reply
  • This.

    The data is used by M-Files clients but is not enforced by the server.  Either ensure that you read the data (it can be read from the object class data via the API if you don't want to hard-code it) and provide the workflow and state properties when creating the object, or use a server-side event handler to react when the object is created and explicitly set the workflow if it's missing.

Children
No Data