Decision Management (ODM,ADS)

 View Only
  • 1.  ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Mon October 02, 2023 07:21 AM

    Hi All,

    Anybody knows how to select multiple values in a decisoin table using custom value editors? In the product distribution samples, I do not see a way to select multiple values in a custom value editor.

    I have tried the two possible verbalizations to select multiple values:

    • Verbalization offer is one of {<a promotional offer>}. In this case it only allows to add a single value:
    • Verbalization offer is one of <promotional offers>. In this case, it does not open the custom value editor associated to <promotional offer>, not being able to select any value:

    Any suggestions?
    Thank you very much.

    Best regards.



    ------------------------------
    Charo Álvarez Martínez
    Automation Architect
    DECIDE
    Madrid
    ------------------------------


  • 2.  RE: ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Mon October 02, 2023 08:34 AM
    Edited by Peter Warde Mon October 02, 2023 08:40 AM

    Hi Maria,

    The ODM samples do not show you how to do what you want.

    You will need to write your own value editor using dojox.form.CheckedMultiSelect which will give you the UI widget that you want - something like this:

    javascript - MultiSelectCombobox issue in dojo - Stack Overflow

    Then you will have to write an ODM value translator that generate the ARL source code for the selected values and then wire it all together as per the sample. It is however challenging stuff!

    ------------------------------
    Peter Warde
    peterwarde@rulearchitect.com
    ------------------------------

    PS If you want to understand more about ODM, dynamic domains and value editors you can read my article here on it:

    Using Reference Data for Rule Authoring in IBM Operational Decision Manager







  • 3.  RE: ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Mon October 02, 2023 01:45 PM

    Thanks Peter.

    I have found another way to select several values from a custom value editor, using the Edit Custom Value option by clicking on the cell to edit:

    The operation is the same as when editing a rule:

    Thank you very much.

    Best regards.



    ------------------------------
    Charo Álvarez Martínez
    Automation Architect
    DECIDE
    Madrid
    ------------------------------



  • 4.  RE: ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Tue October 03, 2023 05:53 AM

    Hi All,

    I wanted to point out that it is a pity that immersed in the Low Code stage, where screens are made in such a simple way, the way to customize the value editor in Decision Center is so complicated and cumbersome. 
    I think that we are also losing an important competitive advantage such as having Decision Center "hooked/connected" to the client's corporate systems to bring master data in a simpler way.

    Best regards.



    ------------------------------
    Charo Álvarez Martínez
    Automation Architect
    DECIDE
    Madrid
    ------------------------------



  • 5.  RE: ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Tue October 03, 2023 06:16 AM
    Edited by Peter Warde Tue October 03, 2023 06:17 AM

    Hi All,

    I agree with Maria. 

    I wrote and have successfully used for my clients an ODM Reference Data Starter Kit that makes creating Dynamic Domains from External Sources and Value Editors in both Decision Center and Rule Designer much easier using configuration and minimal code. You can read about it here:

    https://bitbucket.org/odm-accelerator/about/wiki/Home#markdown-header-reference-data-starter-kit-rdsk

    I also missed not having an OOTB set of core types in such as currencies and percentages, weights and distances, mass, volume, temperature, and pressure which you can read about here

    https://bitbucket.org/odm-accelerator/about/wiki/Home#markdown-header-modified-core-types-mcrt

     and set of Maven plugins and command line tools for performing common tasks such as repackaging Decision Center here

    https://bitbucket.org/odm-accelerator/about/wiki/Home#markdown-header-dev-ops-tools-and-maven-plugins

    and configurable integration framework for handling versioning, validation, errors etc.

    https://bitbucket.org/odm-accelerator/about/wiki/Home#markdown-header-business-rules-decision-service-brds



    ------------------------------
    Peter Warde
    peterwarde@rulearchitect.com
    ------------------------------



  • 6.  RE: ODM 8.11.1.0 | Custom Value Editors - How to select multiple values in a decision table

    Posted Tue October 03, 2023 06:30 AM

    The same point was also made several years ago:

    https://www.linkedin.com/pulse/using-reference-data-rule-authoring-ibm-operational-decision-warde



    ------------------------------
    Peter Warde
    peterwarde@rulearchitect.com
    ------------------------------