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

The STATEFULL_TYPE value in AbstractRuleTaskHandler is different from the accepted value in the "https://www.drools.org/xsd/kmodule_7_1.xsd"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.12.0.GA
    • 7.10.0.GA
    • jBPM Core
    • 2021 Week 22-24 (from May 31)

      Trying to use the BusinessRule Service Task (org.jbpm.process.workitem.bpmn2.BusinessRuleTaskHandler) I realized that if you setup the "KieSessionType" with the value "stateful" which is the allowed value by the "http://www.drools.org/xsd/kmodule", the "handleStatefull(...)" method is nver called.

      Looking into the "org.jbpm.process.workitem.bpmn2.AbstractRuleTaskHandler" which BusinessRuleTaskHandler extends, the static value for "STATEFULL_TYPE" is "statefull" which is different from the allowed value.

      I believe this Service Task implementation never worked as expected, so I think it should be fixed or change the value in the "http://www.drools.org/xsd/kmodule".

      • org.jbpm.process.workitem.bpmn2.AbstractRuleTaskHandler

       

      STATEFULL_TYPE = "statefull"

       

       

      <xsd:simpleType name="ksessionType">
         <xsd:restriction base="xsd:string">
             <xsd:enumeration value="stateless"/>
             <xsd:enumeration value="stateful"/> <<<<<<<<<<<<<<<<<<<<--------------
         </xsd:restriction>
      </xsd:simpleType>

       

       

            elguardian@gmail.com Enrique González Martínez (Inactive)
            rhn-support-omolinab Oscar Molina
            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:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: