OSWorkflow Configuration

OSWorkflow tries to be as flexible as possible with regards to configuration. Only one file is required to be in the classpath: osworkflow.xml. This file dictates the persistence method (JDBC, EJB, Ofbiz) as well the workflow factory class that is to be used for loading workflow definitions. The default factory is com.opensymphony.workflow.loader.XMLWorkflowFactory. This loads up a file in the classpath that in turn contains links to many different workflow definition files, all in XML (see Appendix A). If you would rather specify your workflow definitions in a different way, you are free to extend com.opensymphony.workflow.loader.AbstractWorkflowFactory in any way that you like.

OSWorkflow relies on OSUser to operate correctly. This means that an osuser.xml file must also be in the classpath. Please read the documentation for OSUser, or look at Running the Example App. For more information about how to configure OSUser properly.