Let's create the simplest process ever and see how we can execute it inside our Kie Containers. This section will give you a quick overview about how you can create a Process Instance based on a process model using the KEI APIs. As you can imagine, we cannot cover all the details about jBPM in just one chapter, so consider this as a very short introduction.
So let's get started by creating the following process:
This process has just one User Task and two events, the Start Event and the End Event. We will start this process by submitting a value to be reviewed; the process engine will create an activity to a user so it can review the submitted value and approve or reject it.
The BPMN2 Specification also defines how these diagrams are stored and the XML schemas that are used to validate that our models are correct. So, at the end of the day, our process models will be stored in XML files that will need to be parsed by the Process Engine in order to be executed...