Creating tables from DMNs

Hi all.

I just tested a simple case with collections, basically I created a table using the docker image of flowable, that has simply this column:

Screenshot 2021-03-25 at 13.11.17

I then saved it and download the corresponding DMN. Then I deleted the table, created another one using the Import Decision Table option and what I get is this:

Screenshot 2021-03-25 at 13.11.51

So basically if I need to edit a already existing table from his DMN I have to correct all this column values, which in some cases can be very complicated…

Can someone please advise?

Thanks in advance.

1 Like

Hi @amsmota, a json is constructed while dmn file is imported, however, few corrections are required in that json, you will find below code in DmnJsonConveter

if( expressionValue.startsWith( "\"" ) && expressionValue.endsWith( "\"" ) )
 expressionValue = expressionValue.substring( 1, expressionValue.length() - 1 );

Above code should remove extra double quotes that would have come, but when you debug it, you won’t find extra double quotes in expressionValue variable.
So, if you comment above code, it should solve your problem.