Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1482

FEEL: external java function references not working for functions with variable number of parameters

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Final
    • 7.0.0.Beta7
    • dmn engine
    • None
    • NEW
    • NEW

      External Java functions with variable number of parameters not working. E.g.:

      { 
          string format : function( mask, value ) external {
                            java : {
                                class : "java.lang.String",
                                method signature : "format( java.lang.String, [Ljava.lang.Object; )"
                            }
                        },
          format currency : function( amount ) 
                       string format( "$%,4.2f", amount ),
         result : format currency( 76499.3456 )
      }
      

              etirelli@redhat.com Edson Tirelli
              etirelli@redhat.com Edson Tirelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: