<?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 Form property missing when BPMN Model converted to XML in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213974#M167104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to generate XML from BPMN model. I have a user task which has a Form Definition which in turn contains several properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when I convert this model into XML , I don't see the extension tag. All form properties are missing in the generated xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to set any special flag or something ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 12:26:24 GMT</pubDate>
    <dc:creator>vgaur</dc:creator>
    <dc:date>2015-11-27T12:26:24Z</dc:date>
    <item>
      <title>Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213974#M167104</link>
      <description>Hi,I am trying to generate XML from BPMN model. I have a user task which has a Form Definition which in turn contains several properties.when I convert this model into XML , I don't see the extension tag. All form properties are missing in the generated xml.Do I need to set any special flag or somet</description>
      <pubDate>Fri, 27 Nov 2015 12:26:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213974#M167104</guid>
      <dc:creator>vgaur</dc:creator>
      <dc:date>2015-11-27T12:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213975#M167105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just run test case in BPMN converter module and its creating the form properties properly.&amp;nbsp; To give you more insight, I am using activiti-simple-workflow , creating workflow definition (with form properties) and converting it in XML. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:56:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213975#M167105</guid>
      <dc:creator>vgaur</dc:creator>
      <dc:date>2015-11-27T12:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213976#M167106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK So I get this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FormProperty id is a mandatory property and in simple-workflow-converter , when we convert HumanStep we set the id in formProperty with the name of formPropertyDefinition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formProperty.setId(propertyDefinition.getName());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:06:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213976#M167106</guid>
      <dc:creator>vgaur</dc:creator>
      <dc:date>2015-11-27T13:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213977#M167107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the issue is resolved?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 07:44:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213977#M167107</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-11-30T07:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213978#M167108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was not setting the name in FormPropertyDefinition and when I converted it into bpmn xml , the form properties were missing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I debugged I found that in org.activiti.bpmn.converter.BaseBpmnXMLConverter.writeFormProperties() there is check for id &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt; if (StringUtils.isNotEmpty(property.getId())) &amp;lt;/code&amp;gt; .&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that means in FormPropertyDefinition&amp;nbsp; name is a mandatory property. Ideally it should fail fast&amp;nbsp; if name is not present.&amp;nbsp; Also we should check if id is missing then only set id with name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have fixed few such issues and would like that to contribute if that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 09:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213978#M167108</guid>
      <dc:creator>vgaur</dc:creator>
      <dc:date>2015-12-05T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Form property missing when BPMN Model converted to XML</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213979#M167109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All contributions are more than welcome! Looking forward to the pull request &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 19:33:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/form-property-missing-when-bpmn-model-converted-to-xml/m-p/213979#M167109</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-08T19:33:36Z</dc:date>
    </item>
  </channel>
</rss>

