By default, documents created in Hippo CMS get a "Reviewed Actions" workflow. You can however define any other type of workflow for a certain type of documents. To define a workflow for a document type, add an element "workflowName" to the corresponding "resource" element in types.xml, and put the name of the desired workflow in it.
The example below shows a document type "practice" with workflow "TaxonomyDocument" and a document type "practice-intranet" with workflow "TaxonomyDocumentIntranet".
<types> <resources default="practice"> <resource name="practice" label="Practice page"> <schema>repository://types/practice/text.xsd</schema> <layout>repository://types/practice/layout.xml</style> <template>repository://types/practice/text.xml</template> <bl>repository://types/practice/businesslogic.xml</bl> <i18n>repository://types/practice/i18n</i18n> <workflowName>TaxonomyDocument</workflowName> </resource> <resource name="practice-intranet" label="Practice page for Intranet"> <schema>repository://types/practice/text.xsd</schema> <layout>repository://types/practice/layout.xml</style> <template>repository://types/practice/text.xml</template> <bl>repository://types/practice/businesslogic.xml</bl> <i18n>repository://types/practice/i18n</i18n> <workflowName>TaxonomyDocumentIntranet</workflowName> </resource> .... </resources> </types>
Note: the ZIP archive containing the desired workflow must be in your server manager configuration!