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.)
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
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.