Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JBPM5 Community Trainning Baby Steps Examples

8,900 views

Published on

Published in: Technology
  • Be the first to comment

JBPM5 Community Trainning Baby Steps Examples

  1. 1. JBPM 5 Community Trainning Introductory Examples
  2. 2. 01 - Hello BPM
  3. 3. 01 - Hello BPM : Understand1. The BPMN2 graph2. The BPMN2 xml3. The main classes and methods of the Java API KnowledgeBuilder add() KnowledgeBase StatefulKnowledgeSession startProcess() dispose()
  4. 4. 01 - Hello BPM : Exercise1. Add your own greeting after ours!
  5. 5. 02 - Hello Rules
  6. 6. 02 - Hello Rules : Understand1. The the Drools Rule Package and Language (.drl) Rule declaration: rule, end Left Hand Side (LHS): when Pattern Field Constraints Constraint Groups (,) Constraint Connectives (&&, ||) Binding Variable Right Hand Side (RHS): then2. A little more API: StatelessKnowledgeSession execute()
  7. 7. 02 - Hello Rules : Exercise1. Add the evening greeting according to your locale No java required :)
  8. 8. 03 - Greeting Process
  9. 9. 03 - Greeting Rules
  10. 10. 03 - Greeting Process : Understand1. A very importante object: ProcessInstance get/setVariable()2. A little more BPMN: businessRuleTask exclusiveGateway gatewayDirection conditionExpression3. A little more DRL: ruleflow-group from4. A little more API: KnowledgeRuntimeLogger[Factory] ksession.insert() ksession.startProcess(id,params);
  11. 11. 03 - Greeting Process : Exercise1. Add the evening greeting according to your locale2. Trace the process using the logger3. Debug the rules with breakpoints (eclipse)
  12. 12. To be continued....follow @salaboy and @jmfaerman for notification and updates

×