<?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 perform CRUD operations to external database by custom coding? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4435#M1966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Activiti Enterprise, then I would strongly suggest you look at the new Data Model feature.&lt;BR /&gt;&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;&lt;/P&gt;&lt;P&gt;By defining &amp;nbsp;custom data entity, you can write your own CRUD class by implemening the&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;com.activiti.api.datamodel.AlfrescoCustomDataModelService interface.&lt;BR /&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 18:58:51 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-01-23T18:58:51Z</dc:date>
    <item>
      <title>How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4434#M1965</link>
      <description>Hi,I am checking the best recommended way to perform CRUD operations on an external MySQL database from within a process.I wish to do it by custom code, which is the best recommended approach for Alfresco Activiti 1.5.3v... Please guide.Regards</description>
      <pubDate>Mon, 23 Jan 2017 16:17:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4434#M1965</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2017-01-23T16:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4435#M1966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Activiti Enterprise, then I would strongly suggest you look at the new Data Model feature.&lt;BR /&gt;&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;&lt;/P&gt;&lt;P&gt;By defining &amp;nbsp;custom data entity, you can write your own CRUD class by implemening the&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;com.activiti.api.datamodel.AlfrescoCustomDataModelService interface.&lt;BR /&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:58:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4435#M1966</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-23T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4436#M1967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.alfresco.com/community/bpm/blog/2016/11/17/activiti-enterprise-developer-series-custom-data-models?sr=search&amp;amp;searchId=08211fec-1beb-4214-9fc5-2b5bfc8d5c6f&amp;amp;searchIndex=3" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/bpm/blog/2016/11/17/activiti-enterprise-developer-series-custom-data-models?sr=search&amp;amp;searchId=08211fec-1beb-4214-9fc5-2b5bfc8d5c6f&amp;amp;searchIndex=3&lt;/A&gt;‌ - Just adding the link Greg suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 01:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4436#M1967</guid>
      <dc:creator>kgastaldo</dc:creator>
      <dc:date>2017-01-24T01:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4437#M1968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Greg and Kristen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed the post and was able to recreate the same process on my Alfresco Activiti Enterprise 1.5.3, The activiti based auto CRUD operations on the process for employee table works... data storage and retrieval... but the custom code in the example does no fetch or store data into the salaries table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the logs and noticed the below info:&lt;/P&gt;&lt;P&gt;08:31:04,056 [http-nio-8080-exec-3] INFO com.activiti.extension.bean.CustomData&lt;BR /&gt;ModelServiceImpl - getMappedValue() EntityDefinition [Name=Salary][TableName=nu&lt;BR /&gt;ll][Id=null][Attributes=4] [fieldName=Employee No] [variableValue=100]&lt;BR /&gt;08:31:04,146 [http-nio-8080-exec-3] INFO com.activiti.extension.bean.CustomData&lt;BR /&gt;ModelServiceImpl - getMappedValue() EntityDefinition [Name=Salary][TableName=nu&lt;BR /&gt;ll][Id=null][Attributes=4] [fieldName=Employee No] [variableValue=100]&lt;BR /&gt;08:31:05,021 [pool-3-thread-2] INFO com.activiti.service.runtime.ActivitiEventP&lt;BR /&gt;rocessingService - Processed 11 events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tableName and ID is not getting set (is null) onto the entityDefinition variable.... any help???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:06:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4437#M1968</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2017-01-24T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4438#M1969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I havent actually walked through the blog example, but I think I have a working sample that I can re-test.&lt;/P&gt;&lt;P&gt;Let me validate the blog post and get back to you.&lt;/P&gt;&lt;P&gt;Thanks,&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, 24 Jan 2017 15:16:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4438#M1969</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-24T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4439#M1970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have finally got around to reviewing the custom data model service and it all appears to work as expected.&lt;/P&gt;&lt;P&gt;Perhaps you have missed something in the mapping.&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>Fri, 03 Mar 2017 21:12:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4439#M1970</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-03-03T21:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4440#M1971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for checking on your end...&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I raised the issue I was not quite sure why the logs showed null values for the TableName under:&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;getMappedValue() EntityDefinition [Name=Salary][TableName=nu&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;ll][Id=null],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Later on, I believed the Custom Implementation needs to specify the TableName and write code for performing CRUD operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;My mistake, I forgot to update this ticket later on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Appreciate your help as always!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 21:23:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4440#M1971</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2017-03-03T21:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform CRUD operations to external database by custom coding?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4441#M1972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Greg Harley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using enterprise edition, I am using community edition. Kindly help to achieve data model concepts in community edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amruta Wandakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 06:42:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-perform-crud-operations-to-external-database-by-custom/m-p/4441#M1972</guid>
      <dc:creator>amruta_w</dc:creator>
      <dc:date>2017-06-12T06:42:47Z</dc:date>
    </item>
  </channel>
</rss>

