droolsonboarding
  • Introduction
  • Technical Materials
  • Overview
  • Drools tutorial
    • Installing Drools Tooling
    • Data Model used in the tutorial
    • Lesson 1 : Core concepts
    • Lesson 2 : binding
    • lesson 3 : Some more drools languages
    • lesson 4 : ruleflow
    • lesson 5 : Exercise
      • Requirements
  • BRMS tutorial
    • Organizational Unit And repository
    • Data Model
    • Business Requirements
    • Design
    • Implementing the Process Flow
    • Implementation technical parts
    • Implementing the initial step
    • Implementing standard price step
    • Implementing the Child over 3 years old is free promotion step
    • Implementing the Birthday promotion step
    • Implementing the Zurich reduction step
    • Implementing the final step
    • Conclusion
  • BRMS Runtime tutorial
    • Install needed tools to run the workbench
Powered by GitBook
On this page

Was this helpful?

  1. BRMS tutorial

Implementing the final step

PreviousImplementing the Zurich reduction stepNextConclusion

Last updated 5 years ago

Was this helpful?

We shall now implement a rule that calculates the total and one that create the subscription we propose to the end user.

In the rule above, we have to use custom code as when working with java Bigdecimal class (which we shall use when working with financial amounts) the standard functions do not work.

In the second rule, we use the definitive price we create before. in the picture shown below, we can see an example of the test server we shall present in the next tutorial