-
Type:
Bug
-
Status: Verified (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 6.4.2
-
Fix Version/s: 6.4.4
-
Component/s: Business Central, Form Modeler
-
Labels:
-
Environment:
BPM Suite 6.4.2
Using Multiple-Form for an User Task
-
Fix Build:CR1
-
Steps to Reproduce:
-
Workaround:Workaround Exists
-
Workaround Description:
The following process definitions throws a "java.lang.ClassCastException: [Ljava.util.Map; cannot be cast to java.util.List" by trying to print out a List variable in a Script Task:
Start Event -> ScriptTask1 -> UserTask -> ScriptTask2 -> End event
This process contains a List variable named "lista". In ScriptTask1, "lista" is populated... then you will be able to add new items for it in User Task (user task makes use of a multiple form to achieve it)... finally in last ScriptTask2 the lista variable should be printed out, but the error is thrown.
After performing further tests we could confirm that in fact the multiple form is converting from a List to an array of Map types. Please see steps to reproduce.
- cloned from
-
RHPAM-106 List variable is converted to an array of Maps in a User Task if multiple forms is used in BPM Suite 6.4
-
- Closed
-