<?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 How to create a complex business object in activiti BPM ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25682#M11104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;In all of the BPM products we can create business objects which can hold the data of the process, for examples in a Loan Application Process we can have a LoanDetails object which can contain several attributes or fields within it like applicantName, loanAmount, interestRate etc etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do this in activiti bpm ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 May 2017 05:52:45 GMT</pubDate>
    <dc:creator>rao_diid</dc:creator>
    <dc:date>2017-05-06T05:52:45Z</dc:date>
    <item>
      <title>How to create a complex business object in activiti BPM ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25682#M11104</link>
      <description>&amp;nbsp;In all of the BPM products we can create business objects which can hold the data of the process, for examples in a Loan Application Process we can have a LoanDetails object which can contain several attributes or fields within it like applicantName, loanAmount, interestRate etc etc.&amp;nbsp;How can we do</description>
      <pubDate>Sat, 06 May 2017 05:52:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25682#M11104</guid>
      <dc:creator>rao_diid</dc:creator>
      <dc:date>2017-05-06T05:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a complex business object in activiti BPM ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25683#M11105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version are you using? Community or Enterprise?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you are using Enterprise version, Data Models will help you achieve this. These blogs will help you get started on data models&lt;A href="https://community.alfresco.com/community/bpm/blog/2016/11/17/activiti-enterprise-developer-series-custom-data-models" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/bpm/blog/2016/11/17/activiti-enterprise-developer-series-custom-data-models&lt;/A&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;A href="https://community.alfresco.com/community/bpm/blog/2017/04/12/business-data-integration-made-easy-with-data-models" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/bpm/blog/2017/04/12/business-data-integration-made-easy-with-data-models&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If you are using Community version, you will have to do that programmatically and save them as complex variables.&amp;nbsp;&lt;A href="https://www.activiti.org/userguide/#advanced.custom.sql.queries" title="https://www.activiti.org/userguide/#advanced.custom.sql.queries" rel="nofollow noopener noreferrer"&gt;Custom SQL Queries&lt;/A&gt;&amp;nbsp;are&amp;nbsp;another option if you want to keep the business data separate from process data in community.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 15:39:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25683#M11105</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-05-08T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a complex business object in activiti BPM ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25684#M11106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciju points to Data Models as the correct mechanism for creating a complex business object, however Data Models are very limited as they map directly to a single table, cant handle nested variables (i.e. that include lists) and limit the supported data types.&lt;/P&gt;&lt;P&gt;Yes, there is the ability to create a custom persistence class, but again, this may limit your structure simply by the way the class API is structured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, if you are using Enterprise Edition and the embedded forms, then you will probably be best served using data models as you will be able to map form components into the data models relatively easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Community Edition or the engine stand-alone, I suggest you create Pojo's to represent your data model.&lt;/P&gt;&lt;P&gt;If you need to persist these, then map them to database tables using JPA and if you need to interact from a UI, then add custom serializers (e.g. serialize to JSON).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often how you handle this really depends on the scenario and indeed one size does not fit all.&lt;/P&gt;&lt;P&gt;Likely you will implement in a number of different ways to satisfy your application requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 13:23:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-complex-business-object-in-activiti-bpm/m-p/25684#M11106</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-09T13:23:40Z</dc:date>
    </item>
  </channel>
</rss>

