Hi,
I created a variable “decisions” of type List in my process.
But when I looked in the table “act_ge_bytearray,” I found that it’s not stored in order.
Does anyone know why?
How can i keep the same order than in modeler ?
Thank you
Hi,
I created a variable “decisions” of type List in my process.
But when I looked in the table “act_ge_bytearray,” I found that it’s not stored in order.
Hello @Makitu ,
welcome to the forum
this seems to be related to Camunda Modeler 5.16 Task Inputparmeter Type List alphabetic sorted · Issue #3978 · camunda/camunda-modeler · GitHub
Can you please confirm?
Jonathan
Hello,
Thank you for your response, but it seems that it’s not exactly the same issue. As I understand it, the problem in this post is related to alphabetical order, which isn’t the case for me. My situation is a little bit different as my list is already sorted in alphabetical order, and I’d like to keep this order.
Thank you
Hello @Makitu ,
sorry if there is a misunderstanding, but the linked bug report states that the Modeler automatically sorts the list entries which it should not.
The engine should then read the elements of the input list in the order of the XML elements. If this is not the case, please file a bug report for camunda-bpm-platform.
Jonathan
Hi @Makitu,
You opened bug report in the camunda-bpm-platform project. The description is very vague. I am not sure what the problem is that you encountered. I suggest we continue here and first, clarify what you are trying to achieve. I will close the bug report for now.
@jonathan.lukas wrote
The engine should then read the elements of the input list in the order of the XML elements. If this is not the case, please file a bug report for camunda-bpm-platform.
@Makitu, did you verify this? The database ordering, Java ArrayList order, the ordering of XML entities, and ordering in the Camunda Modeler are different things.
If you are certain that what you are seeing is a bug, please open a new one and give more information on your setup (Camunda version, application server, database vendor and version, Java version), steps to reproduce the problem, maybe a link to a minimal example that reproduces the issue, failing test case, …
Cheers,
Miklas