DMN Tip how to call a java logic

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 5

  • @0791679
    @0791679 8 หลายเดือนก่อน

    like this video! than you for the tips

  • @sergef5037
    @sergef5037 3 หลายเดือนก่อน

    Hi Donato I am trying to run your trivial example presented here, but when I am trying to start "mvn clean compile quarkus:dev" I am getting this Build Failure: [ERROR] src\main\java\org\acme\example\Service.java:[1] header RegExpHeader: Missing a header - not enough lines in file.
    What could be wrong in the java file (or related) ? thank you for your answer, Serge.

  • @ilykna2396
    @ilykna2396 2 ปีที่แล้ว +1

    Can we call java function which is having custom data type as a input .like list of objects and we need to perform operations on it.???

    • @DonatoMarrazzo
      @DonatoMarrazzo  2 ปีที่แล้ว +3

      Yes, you can. Use a DMN structure to create a complex type. Then on the java side you can handle il using a HashMap: "public static String useful(HashMap complex)"

    • @DonatoMarrazzo
      @DonatoMarrazzo  2 ปีที่แล้ว +2

      Check the example: github.com/dmarrazzo/dmn-calls-java