Activiti Workflow example using Spring MVC 4, Activiti Workflow 5, and an embedded Tomcat Servlet.
To run you need Maven:
mvn tomcat7:run
Use Ctrl-c
to stop the app.
Access the site: http://127.0.0.1:9090/activiti-example/
-
Login in as any of the users - the password is the same name as the user (e.g. kermit/kermit).
-
Create a document and submit for approval. Take notice for which group (engineering, sales, management, etc.) the document was created.
-
Then logout and login as another user in the same group. You can view the list of users by clicking the 'users' button on the bottom right of the form.
-
View your tasks and see that there is a new document waiting to be approved. Approve or deny. Log back in as the original author.
-
Next modify the workflow for a group by adding additional approval steps, using different users and/or groups if desired. Create new document(s) under the modified group(s).
To build:
mvn clean install