Configure jBPM5.4 with Drools

Hello guys as part of jBPM we should even stress a little on droolsBusiness processes: Represent what the business does.Business rules: Represent decisions that the business does.

So, although processes and rules are two different thing, there is a clear advantage if your end users are allowed to combine processes and rules. This means for example that:

rules can define which processes to invoke,
rules can specify decisions in that process
rules can augment (or even override) the behaviour specified in the process (for example to handle exceptional cases)
assignment rules can be used to assign actors to (human) tasks
rules can be used to dynamically alter the behaviour of your process
so by delegating the decision to drools we can improve the business process execution.

Step1:
create a sample jBPM process.

now lets integrate drools code to make our process little resilient for that we need to create a drools rule file as below.