Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9771

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

XMLWordPrintable

      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)
            elguardian@gmail.com Enrique González Martínez (Inactive)
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: