Decision Management (ODM,ADS)

 View Only
  • 1.  ODM Rule Designer 8.12.0.1: Handling exceptions in BOM to XOM Mapping

    Posted Fri May 03, 2024 01:34 PM

    Some of our existing BOM to XOM Mappings contain try-catch-statements. That wasn't a problem in the past with Rule Designer 8.10.5 and 8.11.1. When trying to export and deploy the ruleapp with Rule Designer 8.12.0.1 however the export fails.

    Did we miss any migration steps?



    ------------------------------
    Stephanie Heßler
    ------------------------------


  • 2.  RE: ODM Rule Designer 8.12.0.1: Handling exceptions in BOM to XOM Mapping

    Posted Fri May 03, 2024 05:42 PM

    try/catch  blocks in B2X  mapping are good practice, it should not be causing issues. 

    What error message do you receive? 



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



  • 3.  RE: ODM Rule Designer 8.12.0.1: Handling exceptions in BOM to XOM Mapping

    Posted Tue May 07, 2024 03:21 AM
      |   view attached

    Hi Alain,

    we have tried to narrow down the problem by creating a mini RuleApp.
    The RuleApp deployment fails with the following message:

    I've added an excerpt from the eclipse .log file.

    The BOM to XOM Mapping is:

    try {
          return 3;
    } catch (java.lang.NumberFormatException e) {
          return 4;
    }

    The deployment works fine if the BOM to XOM mapping is simply "return 3;"



    ------------------------------
    Stephanie Heßler
    ------------------------------

    Attachment(s)

    txt
    eclipse-log-error.txt   11 KB 1 version


  • 4.  RE: ODM Rule Designer 8.12.0.1: Handling exceptions in BOM to XOM Mapping

    Posted Wed May 08, 2024 09:59 AM

    This is indeed a new issue with the product it is registered as DT381870 .

    Thanks for your report.

    You can use the link above to track when a fix becomes available.



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



  • 5.  RE: ODM Rule Designer 8.12.0.1: Handling exceptions in BOM to XOM Mapping

    Posted 18 days ago

    With the provided interim fix IF009 everything works fine. Thank you!



    ------------------------------
    Stephanie Heßler
    ------------------------------