In the webinar I did last week, I showed a demo that creates a simple reward system where employees can give rewards to each other (that then need to be approved by HR).
The demo shows how to create a new application from scratch using a clean setup (using the latest jBPM installer) where a business user and a developer work together to create the business process. We then generate the necessary JUnit tests and task forms for this process, deploy it to the Guvnor repository and execute it on the jBPM console.
The demo is now available as six small screencasts.
In the first video, a business user uses the web-based Designer (that is integrated into the Guvnor repository) to create a rough, first version of the process.
- The business user defines that first someone from HR should approve (or reject) the request
- The process should then send an approval email to they employee if the request was approved.
- The developer can then import this process into his Eclipse workspace.
The second video shows how the developer edits this process and adds all the necessary details to make it fully executable.
The third video shows how a JUnit test can be generated from the process definition to test the process.
- The developer generates a JUnit test for the process (see last part of the second video)
- He then fills in some of the data that needs to be passed to the process
- The test executes successfully