3. Running
   3.1 Checking installation
   3.2 Web User Interface
   3.3 Loading a Process Definition
   3.4 Starting a Process
   3.5 Operating on a Process Instance
     3.5.1 Changing Process Instance Status
     3.5.2 Process Instance History
     3.5.3 Process Graph
   3.6 Operating on Activities
     3.6.1 Changing Activity Instance Status
     3.6.2 Activity Instance History
   3.7 Searching Processes
 3. Running
To run jawFlow, just start jboss with the run.sh or run.bat script.
 3.1 Checking installation
Once JBoss has started you can check if jawFlow has been started properly too. In order to do this control on the JMX Console:

http://localhost:8080/jmx-console/

if the following JMX Beans have been registered:
arsretia.jawflow * service=AuditMessageProducer * service=DataPersistenceManager * service=DataPersister * service=DefinitionsStorageManager * service=GroupManager * service=JNDIStorageManager * service=MasterClock * service=MonitorMgr * service=PersistenceManager * service=ProcessCleaner * service=ProcessDefinitionRepository * service=ProcessManager * service=RMIConnectorServer * service=SecurityConnector * service=TriggerManager
 3.2 Web User Interface
If everything's ok now, you can access jawFlow's console at the url:

http://localhost:8080/jawflow/Jawflow/home.jsp

and you can reach the logon mask
The default user to access the console is:

user: admin

password: jawflow

It is strongly suggested to change the password on the db
 3.3 Loading a Process definition
The main jawFlow console is empty at the beginning because we haven't any process definition stored in the database. We can load our XPDL files by clicking on the button circled in red in the following Picture


In the following screen, choose your XPDL file clicking on the Browse button and upload your definition with the submit button.


The new definition should appear in the top list.


At its right you have the operational button to Start a new Process Instance and to Remove the Definition


 3.4 Starting a Process Instance
To start a New Process Instance, click on the start button. You are presented a start form with the Workflow Relevant Data. Every data defined as a workflow relevant data is presented here and you can change the ones you need.


The only mandatory field is the "domain" which represents the JMX domain of your process instance. You can enter a string here, for instance "mydomain", then click on the "start" button.


 3.5 Operating on a Process Instance
 3.5.1 Changing process status
By clicking on the "Modify" button you can change the status of a process instance to a different one


The allowed statuses are the ones defined by the WfMC.
 3.5.2 Process Instance History
You can have a look at the process history and at the process internal status.


 3.5.3 Process Graph
You can have a look at the process graph.


 3.6 Operating on an Activity Instance
 3.6.1 Changing Activity Instance status
By clicking on the "Modify" button you can change the status of an activity instance to a different one


The allowed statuses are the ones defined by the WfMC.
 3.6.2 Activity Instance History
You can have a look at the activity history.


 3.7 Searching Processes
The search utility provides you a way to searc and look at completed processes no more present in the process runtime list (the process runtime list is cleaned of completed processes every now and then)


You can search by:
  • Process status
  • Process domain
  • Process definition id
  • Process start and end dates.
The process list you have as a result permits you to have a look at the process history and status and at the process graph.


Chapter 2 Contents Chapter 4