<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic FormProperty value populated in 5.14, not in 5.16.4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198670#M151800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We recently upgraded from Activiti 5.14 to 5.16.4. In version 5.14, formProperty tags from the BPMN of one of our extended tasks (extended via "extensionElements") had it's corresponding org.activiti.engine.form.TaskFormData object formProperty value attributes populated correctly when our FormEngine class had it's TaskFormData object injected by Activiti during workflow execution [ injected during the renderTaskForm(TaskFormData taskForm) method ]. However, in version 5.16.4, our formProperty values on the same object are no longer being populated inside of the TaskFormData.getFormProperties() list for the same workflow execution. For additional clarity, the FormProperty objects that correspond to the formProperty tags below are present within the TaskFormData.getFormProperties() list, but each of their FormProperty getValue() attributes are null. The same value attributes for the same workflow contained the correct values during v5.14 workflow execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in debug, I found that the following attributes in v5.16.4 of the TaskFormData object (i.e. "taskForm" below) *DO* contain the values that we used to get inside of the taskForm.formProperties list:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;taskForm.task.taskDefinition.taskFormHandler.formPropertyHandlers&lt;EM&gt;.variableExpression.node.child.value &lt;BR /&gt;taskForm.task.taskDefinition.taskFormHandler.formPropertyHandlers&lt;EM&gt;.defaultExpression.valueExpression.node.child.value&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(both sets of formPropertyHandlers sub-attributes above have the values "jaz" and "sbLog1" in formPropertyHandlers[0] and formPropertyHandlers[1], respectively)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but when viewing the following in debug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;taskForm.formProperties&lt;EM&gt;.value&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the value attributes are null for the same corresponding "sbLog" and "sbLogId" formProperty elements that are present in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody give some insight as to why the formProperty object's value attribute mapping is no longer taking place since the upgrade? I am providing the relevant BPMN. In the BPMN that you see below, we used to see the values specified in "default=${…}" being populated correctly within the value attributes of the TaskFormData.getFormProperties() list elements in v5.14. Now the same value attributes are null in v5.16.4 (but do show up the taskForm.task.taskDefinition.taskFormHandler sub-attributes noted above):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="sid value from activiti is populated correctly here" name="sb log task" activiti:candidateUsers="sbuser" activiti:formKey="sbLogTaskFormKey"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="sbLog" name="sbLog" type="sbString" variable="sbLog" default="${'jaz'}" writable="false" required="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="description" name="sb log"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="isVisible" name="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="sbLogId" name="sbLogId" type="sbString" variable="sbLogId" default="${'sbLog1'}" writable="false" required="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="description" name="sb log id"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="isVisible" name="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for any insights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 17:19:07 GMT</pubDate>
    <dc:creator>cold_gin</dc:creator>
    <dc:date>2014-11-26T17:19:07Z</dc:date>
    <item>
      <title>FormProperty value populated in 5.14, not in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198670#M151800</link>
      <description>We recently upgraded from Activiti 5.14 to 5.16.4. In version 5.14, formProperty tags from the BPMN of one of our extended tasks (extended via "extensionElements") had it's corresponding org.activiti.engine.form.TaskFormData object formProperty value attributes populated correctly when our FormEngin</description>
      <pubDate>Wed, 26 Nov 2014 17:19:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198670#M151800</guid>
      <dc:creator>cold_gin</dc:creator>
      <dc:date>2014-11-26T17:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: FormProperty value populated in 5.14, not in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198671#M151801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you create a unit test showing this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 10:42:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198671#M151801</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-11-27T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: FormProperty value populated in 5.14, not in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198672#M151802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After researching, we found that a custom BPMN parse handler which was added after upgrading to v5.16 was the culprit. Sorry for any confusion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 20:42:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/formproperty-value-populated-in-5-14-not-in-5-16-4/m-p/198672#M151802</guid>
      <dc:creator>cold_gin</dc:creator>
      <dc:date>2014-12-02T20:42:59Z</dc:date>
    </item>
  </channel>
</rss>

