-
Bug
-
Resolution: Done
-
Major
-
6.0.1
-
None
Description of problem:
I have a process definition which requires two String parameters. I will get ClassCastException when I start the process like this:
java.lang.Long cannot be cast to java.lang.String because the numbers are recognized as numbers
I was trying changing the numbers:
http://localhost:8080/business-central/rest/runtime/org.jboss:integration:1.2.0-SNAPSHOT/process/org.jboss.qa.bpms.ScriptTaskTwoVariables/start?map_var1="10"&map_var2="20"
It works but not with the required output:
the variables really contains "10", "20" including the quotes.
A workaround is to start the process via StartProcessCommand and execute REST operation instead.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: