<?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: Web-script transactions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226667#M179797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Step back a little, why can't you "do something" with your "created node".&amp;nbsp; How did "do something" get out of the current transaction scope?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you do need to run two separate transactions within a web script then one option is to have the script implemented in Java and use the Transaction Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach may be to queue an action for your new node.&amp;nbsp; The action queue will run after your first transaction commits.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Mar 2010 17:08:16 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-03-15T17:08:16Z</dc:date>
    <item>
      <title>Web-script transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226666#M179796</link>
      <description>Hi!Is it possible to configure transactions within 1 webscript?The way it works now: webscript creates a node. That node is commited to repository (when running of web-script is completed) and you can not use that node with another process until web-script transaction completes.Is it possible to con</description>
      <pubDate>Mon, 15 Mar 2010 16:26:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226666#M179796</guid>
      <dc:creator>msvoren</dc:creator>
      <dc:date>2010-03-15T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Web-script transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226667#M179797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Step back a little, why can't you "do something" with your "created node".&amp;nbsp; How did "do something" get out of the current transaction scope?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you do need to run two separate transactions within a web script then one option is to have the script implemented in Java and use the Transaction Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach may be to queue an action for your new node.&amp;nbsp; The action queue will run after your first transaction commits.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Mar 2010 17:08:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226667#M179797</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-03-15T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Web-script transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226668#M179798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Do something" got out of the current transaction scope because i'm sending nodeRef of that created node to application outside alfresco, and, at a time of running alfresco webscript, application can not see that node yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please explain "queue an action" concept in more detail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 09:11:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226668#M179798</guid>
      <dc:creator>msvoren</dc:creator>
      <dc:date>2010-03-16T09:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Web-script transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226669#M179799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can write an action executer to call your external process outside alfresco, and call it either through a rule or by using the Java or Java Script APIs of the action service.&amp;nbsp; You will find your action executer does have access to the new node ref (since it runs post-commit) and therefore your external app can access the new node ref.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failing that you will need to use the Transaction Service and start separate transactions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 12:09:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226669#M179799</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-03-16T12:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Web-script transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226670#M179800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your answer, will see what can be done here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; :idea:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Mar 2010 13:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-script-transactions/m-p/226670#M179800</guid>
      <dc:creator>msvoren</dc:creator>
      <dc:date>2010-03-17T13:40:23Z</dc:date>
    </item>
  </channel>
</rss>

