<?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: Link between RetryingTransactionHelper and the table alf_transaction in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24884#M10790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what errors you expect, but the recommended approach would usually be to check for any potential error conditions BEFORE creating the document, and potentially skip those that could fail. There are very few exceptions that are safe to handle yourself via a simpled catch block, as they may already have marked the transaction as failed / for rollback before you get a chance to handle them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 19:28:22 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-08-31T19:28:22Z</dc:date>
    <item>
      <title>Link between RetryingTransactionHelper and the table alf_transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24881#M10787</link>
      <description>Hi,I've a scheduled action which process a lot of nodes. In order to not rollback all process when there is an error on a node, i've planed to execute the process of each node in a new transaction (with the RetryingTransactionHelper) = One transaction per node.My question is : Is there a link betwee</description>
      <pubDate>Thu, 31 Aug 2017 14:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24881#M10787</guid>
      <dc:creator>eroux</dc:creator>
      <dc:date>2017-08-31T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link between RetryingTransactionHelper and the table alf_transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24882#M10788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no direct link between RetryingTransactionHelper and alf_transaction. Just by using the RetryingTransactionHelper you are not creating new entries in that table. However, if you are modifying the state of a node, the NodeService / NodeDAO will create an entry in alf_transaction for the transactional context and use that to group all the changed nodes of that transaction, which is then used e.g. for index tracking in SOLR. So if you plan to process a lot of nodes it is usually recommended to do some batch / bulk processing instead of "one node&amp;nbsp;in each transaction". It is typically safe to do batches of 50 - 250 nodes per transaction, and even up to 1000 nodes may not be problematic if the changes are trivial and not affecting nodes with content...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:07:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24882#M10788</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-31T19:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Link between RetryingTransactionHelper and the table alf_transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24883#M10789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Axel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact i have to create about 50 documents in each launch of my scheduled action. I don't want to rollback the creation of 49 documents if there is an error on the last. So, i've thought to use a new transaction for each node creation.&lt;/P&gt;&lt;P&gt;Do you have an other idea ? (maybe manage by myself the catch block in my transaction ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emmanuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:25:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24883#M10789</guid>
      <dc:creator>eroux</dc:creator>
      <dc:date>2017-08-31T19:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Link between RetryingTransactionHelper and the table alf_transaction</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24884#M10790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what errors you expect, but the recommended approach would usually be to check for any potential error conditions BEFORE creating the document, and potentially skip those that could fail. There are very few exceptions that are safe to handle yourself via a simpled catch block, as they may already have marked the transaction as failed / for rollback before you get a chance to handle them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 19:28:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/link-between-retryingtransactionhelper-and-the-table-alf/m-p/24884#M10790</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-31T19:28:22Z</dc:date>
    </item>
  </channel>
</rss>

