Decision Management (ODM,ADS)

 View Only
  • 1.  There are conflicts with my elements.

    Posted Thu April 18, 2024 10:03 PM

    I changed the rule in my Decision center. I also changed the BOM in my rule designer. I would like to override the rules from my rule designer to the Decision center. But I get this error. I tried change the elements in the java class file but still not successful. Where am I supposed to change the elements?



    ------------------------------
    Ajay Chowdhury
    ------------------------------


  • 2.  RE: There are conflicts with my elements.

    Posted Fri April 19, 2024 07:10 AM

    If you look at the .brl/.dta view of a rule in the Rule Designer (or open the file in a text editor) you will see that there is a <uuid> field.
    This value is used to synchronise the changes between the Rule Designer (RD) and Decision Center(DC). This is how ODM detects the change of the rule name in the DC and can update it in the RD accordingly. All rule artefacts have this UUID.
    If you change the BOM then you can break the connection between the RD and DC as the UUIDs will have changed. Sometimes you need to change the UUID for example when you copy a rule project as they must all be unique for the sync to work properly.

    The simple fix is to delete the whole rule project (take backups first) either in the Rule Designer or the Decision Center and then recreate the rule project from the remaining version. e.g. re-publish to DC or export from DC (but keep your source code in this case). This is OK if you don't need to keep the editing history in the DC.

    If you need to keep all the history of changes in the DC then you can export the project from the DC to create a new RD project. I don't think the DC keeps all of the RD project files you will probably need to do some manual rebuilding with files from the original RD workspace.

    If you only have one or two rule artefact files with different UUIDs then it is possible to manually edit the files in a text editor to match the UUIDs specified in the DC but this is a bit of a hack. It's worth doing this in a test area before trying on your main project.



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



  • 3.  RE: There are conflicts with my elements.

    Posted Fri April 19, 2024 11:15 AM

    HI Andy,

    Thanks for the explanation. If I chose to delete the entire project in DC, would that entail  deleting a specific folder in the windows explorer? Basically, how do I delete the DC files. Also, if I do delete the entire DC folder, then I just need to deploy to DC from my rule designer, to resolve the issue after deleting the DC folder?

     

    Thanks for your help!

    Ajay

     






  • 4.  RE: There are conflicts with my elements.

    Posted Fri April 19, 2024 12:11 PM

    To delete the project in the Decision Center Business Console you simply open the Library tab and click on the arrow next to the project you wish to delete.
    Then you can re-publish the project from the Rule Designer and all the synchronisations should be OK again.



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



  • 5.  RE: There are conflicts with my elements.

    Posted Fri April 19, 2024 12:33 PM

    Thanks Andy  that did the trick!