Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

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


#Data
#Data
#Businessautomation
 View Only
Expand all | Collapse all

How to extend ODM Decision Center, Business Console to add copy/paste rule artifact feature

  • 1.  How to extend ODM Decision Center, Business Console to add copy/paste rule artifact feature

    Posted Mon November 16, 2020 07:51 AM

    ODM Decision Center Business Console currently does not support the ability to copy decision rule artifacts across branches within a project.

    The Enterprise Console does support this capability.

    This article shows how to extend the the Business Console's out-of-the-box functionality to achieve this.



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration


  • 2.  RE: How to extend ODM Decision Center, Business Console to add copy/paste rule artifact feature

    Posted Mon November 16, 2020 08:04 AM

    The Business Console Extensions github repo provides this capability:

    https://github.com/ODMDev/decision-center-api-samples/tree/master/extensions

    This feature provides the missing functionality within the Decision Center, Business Console to copy artifacts to other branches/releases (as you can in the Enterprise Console).

    You can install this feature as follows:

    https://github.com/ODMDev/decision-center-api-samples/tree/master/extensions#installing

    1) Download the BCExtensions-1.0.0-20201102.170000-1.jar

    https://github.com/ODMDev/decision-center-api-samples/releases/download/1.0.0/BCExtensions-1.0.0-20201102.170000-1.jar

    2) Add the jar to DecisionCenter.war in WEB-INF/lib and redeploy the application

    ----

    You will see 2 new icons on the toolbar for new ClipboardActions-
    • Copy to Clipboard
    • Paste to Package

    Add the ability to select rules from the Decision Artifact middle view and copy them to any project or branch selecting folder(s) in the Decision Artifact tree view.

    • Copy to clipboard

    Check rules in the middle view to be copied.

    The clipboard is reset by using Copy To Clipboard with nothing selected.

    • Paste to Package

    Select folders and project in the tree view where to copy the rules stored in the clipboard. These actions allows you to select rules from the Decision Artifact view by copying and pasting

    them to any project or branch by selecting folder(s) in the Decision Artifact tree view.

    Consult the following page for additional usage details.

    https://github.com/ODMDev/decision-center-api-samples/tree/master/extensions#using



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration