-
Bug
-
Resolution: Done
-
Major
-
None
-
False
-
False
-
NEW
-
NEW
-
Undefined
-
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>
- clones
-
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"
- Closed