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

Case file variable are wrongly typed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.6.0.GA
    • jBPM Core
    • None

    Description

      Case file variables do not honor the data type.
      E.g.

      class Fraud {
        public String getStatus() {}
      }
      

      inside a conditional branch there is the expression:

      return KieFunctions.equalsTo(caseFile_fraud.getStatus(), "suspect");
      

      Error at compilation time:

      [ERROR] Unable to build KieBaseModel:defaultKieBase
      Process Compilation error : Process com.demo.fraud-case(proactivefrauddetectioncase.fraud-case)
      	com/demo/Process_com$u46$demo$u46$fraud$u45$case887907165.java (52:2333) : The method getStatus() is undefined for the type Object
      

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            dmarrazz@redhat.com Donato Marrazzo
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: