-
Bug
-
Resolution: Done
-
Major
-
7.62.0.Final
-
None
When a human task priority is set through a MVEL expression and the variable is an Integer the following exception is raised:
Caused by: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap') at deployment.kie-server.war//org.jbpm.services.task.wih.AbstractHTWorkItemHandler.createTaskBasedOnWorkItemParams(AbstractHTWorkItemHandler.java:131) at deployment.kie-server.war//org.jbpm.services.task.wih.LocalHTWorkItemHandler.executeWorkItem(LocalHTWorkItemHandler.java:67) at deployment.kie-server.war//org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:69)