Decision Management (ODM,ADS)

 View Only
  • 1.  Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Wed April 20, 2022 07:00 AM

    IBM CPB4A features Business Automation Insight to collect events from business processes, decisions and other automation capabilities that derive insight into the performance of the business with dashboarding.

    On the other side, Operational Decision Manager is one of the CP4BA components dedicated to business decisions automation. As part of their Business Rules management capabilities, ODM provides a Business Console where business users can author and version rule artifacts, run testing and simulation scenarios, deploy and more.

    ODM simulation is a nice feature as it allows dry-run of the current version of the rules, before deploying to production. This way you can try and compare different "what-if" scenarios to anticipate the impact in the business performance before deployment. ODM shows the results of simulations as graphical KPIs in custom reports.

    The challenging part of the simulation is to get good quality simulation data. This is a key point for producing significative business conclusions out of the simulation. Traditional approach is to implement product extension to connect to your corporate databases and transform historical data into simulation scenarios with the format expected as input by the decision services in ODM.

    Instead of programming complex integration with corporate databases to prepare simulation data, ¿what if you can just use events stored in BAI? This is a smart approach that pays off with some benefits:

    • BAI uses ElasticSearch to store events as JSON documents, and those events can be queried connectionless though HTTP REST.
    • ElasticSearch is not very performant for query access, but is not required for simulation and, this way, your corporate databases keep out of this game, saving more database bandwidth for business applications.
    • BAI stores the JSON input data of each execution as part of the event record. So, there is no need of data preparation, you just retrieve input data using JSON-PATH and send to the decision server to run a simulation scenario.
    • There are some limitations to previous assert. Depending on your Business Rules Model, sometimes you won't be able to directly use out-of-the-box decision input data stored in BAI, and you will need some transformations. This is because of the way that BAI stores array data in the JSON document. But this is topic for a future thread. You can get further details in the IBM Community Ideas blog.
    • Every BAI event stored in ElasticSearch is timestamped. Meaning that you can use timeframes in the ElasticSearch query to simulate current business rules with all the transactions registered in a similar period in previous years. For instance, if we think of a dynamic pricing decision, we can simulate with all transactions during Black Friday period in previous year.
    If you think this a smart idea, review this article where you will find a walk-through to connect your ODM simulation with BAI decision events using the well know miniloan sample provided in the Getting Started Tutorial of ODM.

    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    Madrid
    609893677
    ------------------------------


  • 2.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Wed April 20, 2022 05:33 PM
    very nice !

    ------------------------------
    Alain Robert
    ------------------------------



  • 3.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Thu April 21, 2022 02:02 PM
    Eduardo, do you have a document that shows how to do this?

    ------------------------------
    Jeff Hampton
    Hybrid Cloud Process Transformation Technical Sales Specialist
    IBM
    Fort Worth TX
    817.688.0265
    ------------------------------



  • 4.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Mon April 25, 2022 04:35 AM
    Hi Jeff, did you check this article?
    You will find here the key tricks for an implementation. You have to follow product documentation to install BAI, ODM and enabling ODM event.
    Later you just need to follow ODM documentation to implement a custom simulation data provider with the specific details of the article.


    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    Madrid
    609893677
    ------------------------------



  • 5.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Mon April 25, 2022 08:46 AM
    Thanks...

    Jeff Hampton
    Automation, Technical Specialist, IBM Technology Sales, U.S. Public and Federal Market
    Cell: 817.688.0265
    Email: jlhampto@us.ibm.com






  • 6.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Mon April 25, 2022 08:49 AM
    I have not tried with BAI before but I have successfully used a custom Simulation provider to pull data from the Decision Warehouse before for a very similar approach.

    ------------------------------
    Andy Macdonald
    ------------------------------



  • 7.  RE: Connecting IBM Operational Decision Manager Simulation capability with IBM Business Insight events

    Posted Mon April 25, 2022 03:59 AM
    Thank you @Eduardo Izquierdo Lázaro for this nice intro to BAI for ODM !
    As you hinted, a key consideration is to apply transformation on incoming raw data, in order to manage relevant data in a way that is compatible with ElasticSearch. See related examples in the ICP4BA doc here: https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/21.0.3?topic=insights-operational-decision-manager-event-processing-walkthrough
    Looking forward to you next article on this. And feel free to create a Blog entry in this community instead of a discussion.​​​​

    ------------------------------
    Antony Viaud
    IBM Decision Automation Offering Manager
    IBM
    ------------------------------