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

    • False
    • False
    • Release Notes
    • GA
    • ER1
    • +
    • 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)

      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>)".
      

              dadossan Daniel José dos Santos (Inactive)
              rh-ee-jomarko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: