We'll now define this process in jBPM. It is shown in the following figure. Try to remember this figure, because we'll be referring back to it throughout this chapter:
You can use the BPMN2 process editor that comes with the Drools Eclipse plugin to create this process. The rest of the chapter will walk you through this process, explaining each node in more detail. The screenshot shown has been taken using the Default skin. This skin has been chosen because it shows the node names (the other skins don't), which makes the explanation a lot easier. Normally, you'd use the BPMN2 process skin. You can change the process skin in Eclipse when you go to Window | Preferences | Drools, then select from the Preferred process skin drop-down list.
The process starts with the Validate Loan rule task (also called rule flow group). The rules in this group will check the loan for missing required values and do other more complex...