Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.2 KB

Activiti Workflow Example

Activiti Workflow example using Spring MVC 4, Activiti Workflow 5, and an embedded Tomcat Servlet.


long-polling-redis

Running

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).

Building

To build:

mvn clean install