<?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 Re: How to export Form model along process to bpmn20.xml in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37903#M15997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found out what I needed and gonna post it here for future reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To recover from database the reusable forms you need to use FormEngineConfiguration and create the FormEngine.&lt;/P&gt;&lt;P&gt;First add activiti-form-engine classes:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-form-engine&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;6.0.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to setup "formEngineConfiguration" at cfg.xml file like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;bean id="formEngineConfiguration" class="org.activiti.form.engine.impl.cfg.StandaloneFormEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcUrl" value="@jdbc.url@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcDriver" value="@jdbc.driver@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcUsername" value="@jdbc.username@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcPassword" value="@jdbc.password@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="databaseSchema" value="@jdbc.schema@" /&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use it like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FormEngine formEngine = FormEngineConfiguration.createFormEngineConfigurationFromResource("activiti.cfg.xml").buildFormEngine();&lt;BR /&gt;formEngine.getFormRepositoryService().getFormDefinitionByKey("formKey");&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With formEngine you can get FormDefinition and his FormFields and Outcomes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Joseph for your help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 16:48:44 GMT</pubDate>
    <dc:creator>dthknt</dc:creator>
    <dc:date>2017-11-08T16:48:44Z</dc:date>
    <item>
      <title>How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37898#M15992</link>
      <description>I'm kind of new to the Activiti 6 app tool, please help.I created a process model just fine, i was able to deploy it and test at my database with the framework.But i noticied that the export process model, won't export the forms i selected at "Reference form" and/or "form key" attribute.I'm only did</description>
      <pubDate>Tue, 07 Nov 2017 20:46:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37898#M15992</guid>
      <dc:creator>dthknt</dc:creator>
      <dc:date>2017-11-07T20:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37899#M15993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The forms are useful only if you are using the Apps layer in Activiti 6. If you are doing external rendering, why do you need to export the forms unless you trying to implement the form rendering logic in your application based on your form model in Activiti 6?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 21:01:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37899#M15993</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-11-07T21:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37900#M15994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to export the json form model, create an app and export the app. The app.zip will have the form models as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 21:12:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37900#M15994</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-11-07T21:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37901#M15995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is everyone loved the form editor, so if we could use it, them get the list of fields like TaskFormData and dynamically generate it inside our existing system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to use the Form Editor like that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 11:27:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37901#M15995</guid>
      <dc:creator>dthknt</dc:creator>
      <dc:date>2017-11-08T11:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37902#M15996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I thought you were looking to use an external form in your application. If you are looking to render the form that you model in Activiti 6 in your application, you will have to implement that logic in your application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that all the UI logic behind the runtime form rendering is present in&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/tree/activiti-6.0.0/modules/activiti-ui/activiti-app/src/main/webapp/workflow" title="https://github.com/Activiti/Activiti/tree/activiti-6.0.0/modules/activiti-ui/activiti-app/src/main/webapp/workflow" rel="nofollow noopener noreferrer"&gt;Activiti/modules/activiti-ui/activiti-app/src/main/webapp/workflow at activiti-6.0.0 · Activiti/Activiti · GitHub&lt;/A&gt;. You can either copy this directory into your application and make it work if you are using AngularJS for your application or implement similar logic by yourselves using the form &amp;amp; task APIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, if you are using or planning to use the enterprise version of Activiti (&lt;A href="https://www.alfresco.com/platform/process-services-bpm" rel="nofollow noopener noreferrer"&gt;Alfresco Process Services&lt;/A&gt;), you get more advanced form building features and also a framework called Application Development Framework (based on Angular 5 now) for rapidly developing custom UI applications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 13:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37902#M15996</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-11-08T13:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to export Form model along process to bpmn20.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37903#M15997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I found out what I needed and gonna post it here for future reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To recover from database the reusable forms you need to use FormEngineConfiguration and create the FormEngine.&lt;/P&gt;&lt;P&gt;First add activiti-form-engine classes:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;activiti-form-engine&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;6.0.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to setup "formEngineConfiguration" at cfg.xml file like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;bean id="formEngineConfiguration" class="org.activiti.form.engine.impl.cfg.StandaloneFormEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcUrl" value="@jdbc.url@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcDriver" value="@jdbc.driver@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcUsername" value="@jdbc.username@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="jdbcPassword" value="@jdbc.password@" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="databaseSchema" value="@jdbc.schema@" /&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use it like this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;FormEngine formEngine = FormEngineConfiguration.createFormEngineConfigurationFromResource("activiti.cfg.xml").buildFormEngine();&lt;BR /&gt;formEngine.getFormRepositoryService().getFormDefinitionByKey("formKey");&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With formEngine you can get FormDefinition and his FormFields and Outcomes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Joseph for your help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 16:48:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-export-form-model-along-process-to-bpmn20-xml/m-p/37903#M15997</guid>
      <dc:creator>dthknt</dc:creator>
      <dc:date>2017-11-08T16:48:44Z</dc:date>
    </item>
  </channel>
</rss>

