|Fig. 1: Single end state|
The basic mistake that I often see is that business processes are created with a single end state, which is used from all points when wanting to reach completion.
|Fig. 2: Multi end states|
Figure 2 shows the same business process implemented using a best practice of defining individual end states which can be easily mined for BAM or management reporting. Here we see that the business process catches the completion paths first, second and third via their respective end states.
I hope this jBPM best practice is of some use to you. Happy processing!