QuickStart
The goal of this document is to get you up and running with OpenWFE as quickly as possible.
If you run into trouble look for help in the forum.
Prerequisite
Install a Java Development Kit (JDK) of version 1.4.x at least, you may find one at http://java.sun.com
Installing and running OpenWFE
- Download OpenWFE
- Unpack it with something like jar xvf openwfe-1.7.2pre13.zip or your favourite unzipper. Do not unpack within "Program Files", it doesn't like to be placed in a file path which contains white spaces (this restriction got removed with OpenWFE 1.7.1, if you notice it still doesn't work, feel free to notify us).
- Get into the first folder thus created ('openwfe-1.7.2pre5' as of our example)
- Make sure that the .bat or .sh files in the bin/ subdir are executable
- Run the OpenWFE suite by double-clicking owfe-suite.bat (make sure that the environment variable JAVA_HOME is set correctly)
Tweaking a process definition
- Start your favourite XML editor and enter a flow definition like this one :
<?xml version="1.0" encoding="UTF-8"?>
<process-definition name="my-flow" revision="1.0">
<description>my flow</description>
<sequence>
<participant ref="role-alpha" />
<concurrence>
<participant ref="role-bravo" />
<participant ref="role-charly" />
</concurrence>
</sequence>
</process-definition> - Save it under the name myflow.xml under openwfe-1.7.x/workflow-definitions/
Launching your process definition
- Open your browser, get to http://localhost:7080/webclient
- Log in as 'admin' (password 'admin')
- Once in, click on 'launch a flow', top of the page on the right
- Locate your flow in the list of launchable process definitions, then click on the 'launch' link at the right of your flow
- fill in some fields and click on 'launch' down on the left of the form
- you'll see your workitem appear in the store "Store.alpha"
- make your workitem continue its way within your flow