Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3500

[DMN Designer] [BC Only] Validating a DMN invoking java function

    XMLWordPrintable

Details

    • GA
    • ER1
    • Release Notes
    • Hide
      As specified in DMN specification, user must use full qualified name for classes AND generics is not supported.

      The fix for this issue requires manual changes in DMN model to have method signature like:

      "listStartsWith(java.lang.String,java.util.List)"

      instead of:

      "listStartsWith(String,java.util.List<String>)"
      Show
      As specified in DMN specification, user must use full qualified name for classes AND generics is not supported. The fix for this issue requires manual changes in DMN model to have method signature like: "listStartsWith(java.lang.String,java.util.List)" instead of: "listStartsWith(String,java.util.List<String>)"
    • 2022 Week 08-10 (from Feb 21)
    • +

    Description

      We are trying to call a Java method from a BKM and within a respective decision. We have created a class with a respective method listStartsWith(String, List<String>) and in the BKM we define the respective class and method signature, however we constantly get the following error

       DMN: Error compiling Java function 'listStartsWith' on node 'listStartsWith': Error resolving external function as defined by: function(element,elementList) external { java: { class: "com.rnd.testjavafunction.Utils", method signature: "listStartsWith(String,java.util.List<String>)".
      

      Attachments

        Issue Links

          Activity

            People

              dadossan Daniel José dos Santos
              jomarko@redhat.com Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: