IBM Decision Composer – Getting started tutorial – Greetings sample

hello and welcome to the decision composer getting started tutorial for greetings in the next five minutes you will learn to understand the basics of decision modeling then model and execute your own first decision and then update the rules you wrote to see immediate results this tutorial is meant to be completed interactively pause at any time or wait for the pause icon to appear in the upper right to know when would be a good time to stop and try it yourself you start using the greeting simple note the IBM be in the bottom right corner click it for a tour and tips in case you get lost or have questions based on the industry standard dmn or decision model and notation the decision evaluates from bottom to top starting with green data input nodes representing the data upon which our decision is made such as name or hour of the day if you prefer a different orientation it can be flipped using the icon at the top of the editor next to the model state indicator input data connects with blue decision nodes which include the business rules to make our decision run the main decision at the top salutation outputs the specified string of text based on the user's input data each decision node under that such as greeting includes a set of rules at the bottom left we will come back to that later custom types group multiple data inputs in a single object it can be easily modeled by the business in low code editors we don't have any of these in this simple sample finally validation uses a simple form let's fill in 10 a.m. mail and Jones our decision is good morning mr. Jones if we change the hour to 4:00 a.m. still in the middle of the night the rules will turn a different result this time good night mr. Jones now might be a good time to pause and try this out on your own let's update a rule in the greetings sub decision by scrolling down on the left and clicking to open the decision table our first validation 10 a.m. would correspond to the second row and our second validation for M would correspond to the first row we double click on goodnight and change it to your up to late validating again proves how easy it is to update a business rule in decision composer next our scenario is to override the greeting sub decision we just updated with a new custom output only for people named Jones this requires a new decision node back in the model we hover over the line between the top salutation decision and the greetings sub decision click the plus sign and add a decision node let's rename that and add a description let me set the output type to a string the same as the greeting sub decision now since our override decision is based on the name Jones as well we mouse over the name input data locate the plus sign at the bottom and then click hold and drag to release over the new final greeting decision to connect the two now final greeting depends on the name and the original greeting decision we are ready to create our rule within final greeting scrolling to the bottom of the left-hand side and clicking on add a rule to create a new text rule we select both greeting and name so that we can easily condition on both values in our new rule then following the generated template we fill in the appropriate values you are up too late for the greeting Jones for the name and then set the decision to the existing greeting plus some new words added to the end this is the Jones override rule if Jones is not the name we need to default value for our decision so at the bottom left we click set output default and then use the greeting which will pass the original greeting through to the final salutation decision last we update the main salutation decision to make use of the new final greeting override by selecting and opening the salutation rule locating the error the decision composer finds for us and updating the value to final greeting now that our new node is setup and our rules are updated let's see how this affects our output by running the same validation with Jones to trigger the override we see the output we expect with the added phrase however if we use any other name as input the over I will not be triggered success are updates worked I think you've seen how to model validate update and add new nodes to a decision it's time to try it yourself in your own greeting sample if you're not done so already if you're still new to decision modeling and you want to see how decision composer can be applied to your business check out our industry samples by clicking home in the upper left and then navigate to the samples page once you feel confident with the greeting simple check out our next video where we create a decision from scratch and executed within a mobile app thank you for checking out my BM decision composer and decision – composer

One thought on “IBM Decision Composer – Getting started tutorial – Greetings sample

Leave a Reply

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