Decision Management (ODM,ADS)

Decision Management (ODM, ADS)

Connect with experts and peers to elevate technical expertise, solve problems and share insights

 View Only
  • 1.  Custom Property in RuleApp

    Posted Tue May 06, 2025 09:27 AM

    Hi Team, I wanted to know how to create a custom Property for a RuleApp.
    Can we create a plugin jar for Res and deploy using which we define a custom property for rule app. Using this property, we can define the library or the xom version for every ruleset inside this RuleApp.

    Please let me know if any other way is there to achieve so.
    Thank you.



    ------------------------------
    Atmaswaroopa Tripathy
    ------------------------------


  • 2.  RE: Custom Property in RuleApp

    Posted Tue May 06, 2025 12:38 PM

    There is a property to define the XOM path ruleset.managedxoms.uri in the ruleset. Do I understand you want to add a shared xom to all rulesets that are deployed in the RES console automatically.

    There is no extension of the RES Console that would allow that, you could use the rest API to add or update the property afterward.

    Also it might be enough to define the property in the deployment configuration so that it is created when deployed. 



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



  • 3.  RE: Custom Property in RuleApp

    Posted Fri May 09, 2025 12:06 PM

    Hi Alain, there is a provision to add custom properties to RuleApps in RES/rule designer and similarly custom property for decision operations in Rule designer.
    I could not find any documentation on how to add custom property. Could you please provide me any help me understand on how to create custom properties and please give me some understanding on what the scope of custom property could be if we create for a RuleApp and for a decision operation.
    Thank you. 



    ------------------------------
    Atmaswaroopa Tripathy
    ------------------------------



  • 4.  RE: Custom Property in RuleApp

    Posted Fri May 09, 2025 05:11 PM

    See this section of the documentation https://www.ibm.com/docs/en/odm/9.0.0?topic=console-deployment-configurations in particular the Ruleset Properties paragraph.

    In the deployment configuration this should be visible like this 



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



  • 5.  RE: Custom Property in RuleApp

    Posted Thu May 15, 2025 05:09 AM

    Hi Alain, Thanks for the update.
    I am more interested in custom property set up in RuleApp specially.
    Could you please help me understanding how to configure custom property for a RuleApp / RuleSet.
    And what are the scopes of a custom property, what all configuration we can do with a custom property.
    (As per my analysis could we extend the rule designer API in achieving of configuration of custom property.)
    Thank you.



    ------------------------------
    Atmaswaroopa Tripathy
    ------------------------------



  • 6.  RE: Custom Property in RuleApp

    Posted Thu May 15, 2025 08:23 AM

    The ruleapp properties are managed in the General tab

    Note that ruleapp properties are not accessible from the rules at runtime. they are not propagated to the rulesets for example. In effect they are most likely not the way to achieve what you are trying to do.



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



  • 7.  RE: Custom Property in RuleApp

    Posted Thu May 15, 2025 11:35 AM

    Yes, I got your point.
    But in rule designer I can see we get 2 inbuild property in ruleApp.


    Moreover, if we can't propagate property to the rulesets it contains, then it just becomes a container for ruleset.
    If that is the case it does not make any sense creating a ruleapp, it just acts as a segregation for multiple rulesets.
    Rather it would be better to have some functionality using which we can change the property of all ruleset it contains, then i believe it could server a better purpose.
    Please let me know your thoughts.
    Could you please tell me, what purpose does ruleapp serves and the property that is shown in the ruledesigner.

    Thank you.



    ------------------------------
    Atmaswaroopa Tripathy
    ------------------------------



  • 8.  RE: Custom Property in RuleApp

    Posted Thu May 15, 2025 11:52 AM

    I agree with your assessment of the RuleApp role. Today it is only a container and it could have a more meaningful role in the Rule Execution Server,  

    Feel free to register your suggestion  here  https://ideas.ibm.com/products/6381500226841758120



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