All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Code Block |
---|
# Original Workflow #workflow.framework: =originalworkflow #XML configurable workflow workflow.framework: =xmlworkflow |
...
Code Block | ||
---|---|---|
| ||
<!--Basic workflow services, comment or remove when switching to the configurable workflow --> <!--<bean id="workflowServiceFactory" class="org.dspace.workflowbasic.factory.BasicWorkflowServiceFactoryImpl"/>--> <!--Configurable workflow services, uncomment to enable--> <bean id="workflowServiceFactory" class="org.dspace.xmlworkflow.factory.XmlWorkflowServiceFactoryImpl"/> |
With the xmlworkflow come some separate tables which hibernate needs to be aware of, and the tables for the basic workflow can be disregarded. So edit the [dspace]/config/hibernate.cfg.xml
file and comment out the basic workflow classes & enable the xmlworkflow classes. The result is displayed below:
Code Block | ||
---|---|---|
| ||
<!--<mapping class="org.dspace.workflowbasic.BasicWorkflowItem"/>--> <!--<mapping class="org.dspace.workflowbasic.TaskListItem"/>--> <mapping class="org.dspace.xmlworkflow.storedcomponents.ClaimedTask"/> <mapping class="org.dspace.xmlworkflow.storedcomponents.CollectionRole"/> <mapping class="org.dspace.xmlworkflow.storedcomponents.InProgressUser"/> <mapping class="org.dspace.xmlworkflow.storedcomponents.PoolTask"/> <mapping class="org.dspace.xmlworkflow.storedcomponents.WorkflowItemRole"/> <mapping class="org.dspace.xmlworkflow.storedcomponents.XmlWorkflowItem"/> |
Info | ||
---|---|---|
| ||
You will also need to follow the Data Migration Procedure below. |
...