The amazing world of IBM ODM and more

The amazing world of IBM ODM blog - Angello Manrique Vigil
  • HOME
  • ABOUT ME
  • CONTACT ME

Decision Composer, integration with Rule Designer

by Angello Manrique Vigil / Sunday, 03 September 2017 / Published in Bluemix, Cloud, Rule Authoring, Rule Designer

In this post I will show a new way to start your Rule Projects, using a new IBM Bluemix Business Rules service feature called “Decision Composer”. This is currently in experimental mode but you can start to fully utilize its main features and see if it helps you in your organization. The decision composer is a new way to model your rules using the Decision Modeling Notation (learn more about DMN here), it is also very useful to business users with no ODM technical skills to define and model Rule Projects.


Steps:

  1. Creating a Decision Composer project
    • First we need to access our IBM Bluemix account and select our Business Rules Service. If you don’t have an account or the Business Service installed please refer to my previous Bluemix post here.
    • Click on the “Open Decision Composer”decision composer bluemix
    • Click “New Project”, give it a name and click “Create Project”. For this sample I will create a simple recruitment eligibility rule.New decision composer sample project
    • Tip: You can import your XOM schema from a file or URL too
  2. Modeling rules in the Decision Composer
    • By default we get a decision “Hello World” with a message, we can simply erase these 2 artifacts.
    • Create a “data node”, it will create a square box representing a Decision Node. Click on it to modify it’s properties on the left panel. For my sample the output is a Boolean (true or false).decision composer decision node sample
    • Now that we have our Decision Node we need to add the Input data that will determine the rule outcome. Hover over decision node, click the + symbol and select “Input Data”.
    • Do the same for each data field you need in your rule, in my sample I will need the age and sex of the candidate.decision composer input data sample
    • Tip: Remember you can specify default values for each data
    • Now we need to edit our business logic. Select the decision node and click “Edit decision logic” on the left panel. We can work with rule actions or decision tables. In this sample I will use a simple decision table to specify some rules:decision composer decision table sample
    • Set a default value for the outcome variable:decision composer default value sample
    • Save your changes.
  3. Testing and deploying our Decision project
    • Return to the main project screen, click “Run” and test the different scenarios of your rules:decision composer testing rules sample
    • Now you can deploy your project to your Bluemix Business Rules RES. Return to the project selection screen, hover over your decision project and click “Deploy”decision composer deploy
    • Input the Bluemix RES URL, username and password. Your rule is ready to use on the cloud.
  4. Integrating the project with IBM ODM Rule Designer
    • A great feature is that you can download this project and import it to your Rule Designer Eclipse workspace.
    • In the same options list, click “Download”.
    • In your Rule Designer workspace select File – Import – Existing projects into Workspace. Search for the files by viewing all file types and that’s it! decision composer in rule designer integration

Let me know if you want to see more content like this and explore with the Decision Composer and DMN more. I hope you enjoy this tutorial and as always please feel free to contact me for any feedback or questions! Thank you!

Tagged under: Bluemix, Cloud, DecisionComposer, RuleDesigner

About Angello Manrique Vigil

IBM Certified ODM Consultant with 6+ years of experience in designing and developing end to end BRMS and BPM enterprise applications systems. LinkedIn: https://www.linkedin.com/in/angello90/

What you can read next

Populating Decision Tables with external data sources
Working with Lists in the XOM / BOM
Working with the Decision Center API

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ant Tasks
  • Bluemix
  • Cloud
  • Database
  • Debug
  • Decision Center
  • Decision Operation
  • Decision Table
  • Decision Warehouse
  • Docker
  • Domains
  • Java
  • ODM API
  • RPA
  • Rule Authoring
  • Rule Designer
  • Rule Execution Server (RES)
  • Rule Solutions for Office
  • Ruleflow
  • UiPath

Archives

  • August 2018
  • July 2018
  • June 2018
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017

Subscribe

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Tags

AntTasks Bluemix BOM BOM2XOM Cloud Database Debug DecisionCenter DecisionComposer DecisionOperation DecisionService DecisionTable DecisionWarehouse Deployment Docker Domains DynamicDomains Java Lists ODMAPI RES RPA RuleApp RuleDesigner RuleFlow Ruleset RuleSolutionsForOffice SOAP SoapUI UiPath XOM

Recent Posts

  • RPA – UiPath: Working with Excel

    In this blog post we will talk about working wi...
  • ODM on Docker!

    If you are a DevOps enthusiast like me you prob...

Angello Manrique Vigil

IBM Certified ODM Consultant with 6+ years of experience in designing and developing end to end BRMS and BPM enterprise applications systems.
LinkedIn: https://www.linkedin.com/in/angello90/

All rights reserved. Made by Angello Manrique Vigil.

TOP