<?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 make the &amp;quot;documentCreated&amp;quot; event waiting for a blob to be attached before processing in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322890#M9891</link>
    <description>&lt;P&gt;As mentioned in comments documentModified event allows to trigger the operation when the blob is attached rather than when the document is created.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2013 10:58:29 GMT</pubDate>
    <dc:creator>Antoine_Cordier</dc:creator>
    <dc:date>2013-11-28T10:58:29Z</dc:date>
    <item>
      <title>How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322887#M9888</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to handle routing for documents according to the name of the file they are carrying.&lt;/P&gt;
&lt;P&gt;What I done is:&lt;/P&gt;
&lt;P&gt;Trigger the creation of a document on the repository with httpAutomationClient when a file is created on the client side AND THEN attach blob to this document&lt;/P&gt;
&lt;P&gt;This part works (my file is finding its way to the nuxeo platform)&lt;/P&gt;
&lt;P&gt;In the target folder i attached a listener as when a document is created, it's moved to a particuliar target according to it's name.&lt;/P&gt;
&lt;P&gt;The problem is as it's configured to be launched for each "documentCreated" event, my blob attach operation is failing as the document is moved and what I get at the end is an empty document &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there a way to ensure there's no more blob attach operation pending on the document before moving it ? Kind of lock or something ?&lt;/P&gt;
&lt;P&gt;Thanks and thanks again&lt;/P&gt;
&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2013 17:44:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322887#M9888</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-27T17:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322888#M9889</link>
      <description>&lt;P&gt;Can you tell us what is your "create-document" event that is raised? Where?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2013 17:55:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322888#M9889</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2013-11-27T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322889#M9890</link>
      <description>&lt;P&gt;Thank you! triggering the listener on the documentModified event was what i needed&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:56:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322889#M9890</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-28T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322890#M9891</link>
      <description>&lt;P&gt;As mentioned in comments documentModified event allows to trigger the operation when the blob is attached rather than when the document is created.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 10:58:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322890#M9891</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-28T10:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322891#M9892</link>
      <description>&lt;P&gt;Nice! And yes sorry for the mistake "documentUpdate" wrong name;)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:03:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322891#M9892</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2013-11-28T11:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make the "documentCreated" event waiting for a blob to be attached before processing</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322892#M9893</link>
      <description>&lt;P&gt;Same mistake here with the documentCreated designation. I fixed it for posterity, have a nice day.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 11:41:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-the-quot-documentcreated-quot-event-waiting-for-a/m-p/322892#M9893</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-11-28T11:41:44Z</dc:date>
    </item>
  </channel>
</rss>

