JBPM5 Community Trainning Baby Steps Examples

Preview:

DESCRIPTION

 

Citation preview

JBPM 5 Community Trainning

Introductory Examples

01 - Hello BPM

01 - Hello BPM : Understand

1. The BPMN2 graph2. The BPMN2 xml3. The main classes and methods of the Java API

KnowledgeBuilderadd()

KnowledgeBaseStatefulKnowledgeSession

startProcess()dispose()

01 - Hello BPM : Exercise

1. Add your own greeting after ours!

02 - Hello Rules

02 - Hello Rules : Understand

1. The the Drools Rule Package and Language (.drl)Rule declaration: rule, endLeft Hand Side (LHS): when

PatternField ConstraintsConstraint Groups (,)Constraint Connectives (&&, ||)Binding Variable

Right Hand Side (RHS): then 2. A little more API:

StatelessKnowledgeSessionexecute()

02 - Hello Rules : Exercise

1. Add the evening greeting according to your localeNo java required :)

03 - Greeting Process

03 - Greeting Rules

03 - Greeting Process : Understand1. A very importante object:

ProcessInstance get/setVariable()

2. A little more BPMN:businessRuleTaskexclusiveGateway

gatewayDirectionconditionExpression

3. A little more DRL:ruleflow-groupfrom

4. A little more API: KnowledgeRuntimeLogger[Factory] ksession.insert()ksession.startProcess(id,params);

03 - Greeting Process : Exercise

1. Add the evening greeting according to your locale2. Trace the process using the logger3. Debug the rules with breakpoints (eclipse)

To be continued....

follow @salaboy and @jmfaerman for notification and updates