<?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 Both  /runtime/tasks &amp;&amp; /form/form-data?taskId=1000 responds with  'formKey': null (6.0.0.Beta2-SNAPSHOT) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212297#M165427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see someone else had this issue &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/access-activitiformkey-using-activiti-rest-version-513" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/access-activitiformkey-using-activiti-rest-version-513&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I've had a look at the mappings and handlers and traced them to database layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem seems to be the formKey is not persisted to ACT_RU_TASK, in fact quite a few fields I'd expect in REST call responses seem not to be present for the same reason they don't seem to make it from the visual editor or process definition bpmn xml to the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been looking activiti-bpmn-* modules for the code responsible for actually storing the formKey in&amp;nbsp; ACT_RU_TASK but so far haven't found it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe someone can shed some light on this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 11:29:56 GMT</pubDate>
    <dc:creator>fluidnotions</dc:creator>
    <dc:date>2015-11-19T11:29:56Z</dc:date>
    <item>
      <title>Both  /runtime/tasks &amp;&amp; /form/form-data?taskId=1000 responds with  'formKey': null (6.0.0.Beta2-SNAPSHOT)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212297#M165427</link>
      <description>I see someone else had this issue https://forums.activiti.org/content/access-activitiformkey-using-activiti-rest-version-513I've had a look at the mappings and handlers and traced them to database layer. The problem seems to be the formKey is not persisted to ACT_RU_TASK, in fact quite a few fields</description>
      <pubDate>Thu, 19 Nov 2015 11:29:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212297#M165427</guid>
      <dc:creator>fluidnotions</dc:creator>
      <dc:date>2015-11-19T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Both  /runtime/tasks &amp;&amp; /form/form-data?taskId=1000 responds with  'formKey': null (6.0.0.Beta2-SNAPSHOT)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212298#M165428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The TaskEntityImpl in MybatisTaskDataManager(AbstractDataManager&amp;lt;EntityImpl&amp;gt;).insert(EntityImpl) line: 78&amp;nbsp; seems to contain the same missing values including formKey as are missing from the database&amp;nbsp; ACT_RU_TASK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to find where the parameters are assembled for the task insert … but it's difficult to trace execution through a command pattern arch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.agenda.ContinueProcessOperation&amp;nbsp; - Executing activityBehavior class org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;seems to trigger org.activiti.engine.impl.persistence.entity.TaskEntityImpl.insertTask through an event I'm guessing … but I can't seem to find the calling code and therefore where the parameters are assembled for the task insert … ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 19:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212298#M165428</guid>
      <dc:creator>fluidnotions</dc:creator>
      <dc:date>2015-11-19T19:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Both  /runtime/tasks &amp;&amp; /form/form-data?taskId=1000 responds with  'formKey': null (6.0.0.Beta2-SNAPSHOT)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212299#M165429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok it looks like this is a bug in activiti-app, this problem doesn't seem to occur in a test case loading a resource direct from an bmpn20.xml file, because the formKey is there in the UserTask flowElement in the list in Process object. But in activity-app the the bmpn20.xml persisted as a blob to ACT_GE_BYTEARRAY omits the formKey. Inside it seems to be there earlier as in the json-converter seems to work and the bpmn-converter, it must get dropped before it's persisted to ACT_GE_BYTEARRAY&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 20:08:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212299#M165429</guid>
      <dc:creator>fluidnotions</dc:creator>
      <dc:date>2015-11-19T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Both  /runtime/tasks &amp;&amp; /form/form-data?taskId=1000 responds with  'formKey': null (6.0.0.Beta2-SNAPSHOT)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212300#M165430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The bug can be found in com.activiti.service.runtime.DeploymentServiceImpl.retrieveFinalFormKey(String, FlowElement, Map&amp;lt;Long, Form&amp;gt;, AbstractModel, Long, Long, User)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I opened and issue and created a pull request&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 22:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/both-runtime-tasks-form-form-data-taskid-1000-responds-with/m-p/212300#M165430</guid>
      <dc:creator>fluidnotions</dc:creator>
      <dc:date>2015-11-19T22:31:00Z</dc:date>
    </item>
  </channel>
</rss>

