<?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 Activiti 6 problem rendering form variables in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6409#M3112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a bmp model in which I have defined some form properties in it. I have used "Acitivi Editor" to do this. A section of the bpm file is this&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="status" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="status" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="string"&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="amount" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="amount" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="string"&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="file" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="file" &lt;/SPAN&gt;&lt;SPAN style="color: #bababa;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;="string"&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;activiti&lt;/SPAN&gt;&lt;SPAN style="color: #e8bf6a;"&gt;:formProperty&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;When I use the activiti-app to deploy this model to an app and run it from there the forms that are being created from the tool don't contain these form elements.&lt;/P&gt;&lt;P&gt;When I explore the process from the Activiti Admin I can see that variables exist for the tasks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the main problem is the no rendering of the form variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find that same behavour has the REST API. E.g. when I call the method /&lt;SPAN style="color: #505050; background-color: #fafafa; font-weight: normal; font-size: 12px;"&gt;runtime/tasks/{taskid} I get a JSON response with the variables key empty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #fafafa; font-weight: normal; font-size: 12px;"&gt;The only way to get the variables of the task is using java api and method&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;SPAN style="background-color: #344134;"&gt;FormData&lt;/SPAN&gt; formData = formService.getTaskFormData(task.getId())&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Could you help on this?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 14:50:51 GMT</pubDate>
    <dc:creator>karkaletsis</dc:creator>
    <dc:date>2017-11-22T14:50:51Z</dc:date>
    <item>
      <title>Activiti 6 problem rendering form variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6409#M3112</link>
      <description>I have a bmp model in which I have defined some form properties in it. I have used "Acitivi Editor" to do this. A section of the bpm file is this&amp;lt;activiti:formProperty id="status" name="status" type="string"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&amp;lt;activiti:formProperty id="amount" name="amount" type</description>
      <pubDate>Wed, 22 Nov 2017 14:50:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6409#M3112</guid>
      <dc:creator>karkaletsis</dc:creator>
      <dc:date>2017-11-22T14:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 problem rendering form variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6410#M3113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this in the middle&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/thread/227246"&gt;Activiti 6 UI - built-in form rendering&lt;/A&gt;&amp;nbsp; which explains somehow the behaviour. Is there any way then to get the form definition from the new forms using the REST API? The&amp;nbsp;&lt;SPAN style="color: #505050; background-color: #fafafa; font-weight: normal; font-size: 12px;"&gt;form/form-data?taskId={taskid} returns the &lt;STRONG&gt;OLD&lt;/STRONG&gt; form properties&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 15:28:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6410#M3113</guid>
      <dc:creator>karkaletsis</dc:creator>
      <dc:date>2017-11-22T15:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti 6 problem rendering form variables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6411#M3114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filelds from form and variables as different thinks. You do need assign fields values to variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 15:26:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-problem-rendering-form-variables/m-p/6411#M3114</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2017-11-23T15:26:05Z</dc:date>
    </item>
  </channel>
</rss>

