cancel
Showing results for 
Search instead for 
Did you mean: 

Error during insert FormProperty to act_hi_detail

mondrus
Champ in-the-making
Champ in-the-making
Hi,
I have problem with FormProperty, which represents custom data type (large xml file).
XML content for FormProperty is stored in process variable as bytearray (because length of TEXT_ column is < 4000 chars), but when I complete task, Activiti engine is saving this content to column TEXT_ in table act_hi_detail. This leads to database error (truncate string error). Is this correct manner ?
(History details are required.)

Thanks for response.
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
I see… The variables of type "byte array" are stored in history correctly (referencing a byte-array entity). Looks like form-properties are not designed to cope with large values (form-property-values are always strings). Can you create a jira-issue for this?

As a workaround, can you use regular variables (taskService.complete(id, variables)) instead of using the form-service? This will bypass the form-property history

trademak
Star Contributor
Star Contributor
You can just create an account in codehaus Xircles –> https://xircles.codehaus.org/signup/

Best regards,

trademak
Star Contributor
Star Contributor
Hi Viktor,

As you know we are an open source project and we solve JIRA issues based on priority and community demand.
Also we welcome community contributions to solve JIRA issues as well.
So instead of posting a message like this, spent some time trying to solve the issue first.

Best regards,