I've created site columns and added them to a custom Content Type.
I've then associated a workflow against this content type and then setup a document library using the new content type and saved it as a template.
Finally I've written C# logic to create a document library from this template and the library gets created as expected along with the correct content type, however there is no workflow being created.
Why would this be the case?
Note: If document library is created using SharePoint UI then the workflow is created and shown under the content type.