<?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: Delete Document using automation chain which is called in event documentCreated in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319852#M6853</link>
    <description>&lt;P&gt;My requirement is that,&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 04:16:36 GMT</pubDate>
    <dc:creator>Reethu_Das</dc:creator>
    <dc:date>2019-10-11T04:16:36Z</dc:date>
    <item>
      <title>Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319850#M6851</link>
      <description>&lt;P&gt;I am trying to create an automation chain which is called on the event 'documentCreated' and newly uploaded document is saved as attachment on another document.
But after attaching, this newly uploaded document is also created as new document.
I want to avoid that.
I want to delete that newly created document.&lt;/P&gt;
&lt;P&gt;Can anyone help me with this?
I tired to use operation document.delete(), but entire chain is rolled back because I'm calling it in documentCreated.&lt;/P&gt;
&lt;P&gt;So what should I do to delete newly created document?
Which event handler should I use?&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 09:53:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319850#M6851</guid>
      <dc:creator>Reethu_Das</dc:creator>
      <dc:date>2019-10-03T09:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319851#M6852</link>
      <description>&lt;P&gt;What do you mean by "newly uploaded document is saved as attachment on another document." It sounds like you are uploading a binary to save as an attached file on an existing Nuxeo document. Could you give us more information on what you're trying to accomplish?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 15:53:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319851#M6852</guid>
      <dc:creator>LaraGranite_</dc:creator>
      <dc:date>2019-10-10T15:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319852#M6853</link>
      <description>&lt;P&gt;My requirement is that,&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 04:16:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319852#M6853</guid>
      <dc:creator>Reethu_Das</dc:creator>
      <dc:date>2019-10-11T04:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319853#M6854</link>
      <description>&lt;P&gt;Thanks for the further explanation. I'm still not clear on how you are attaching documents to documents. Are they relations? Or are you uploading file documents? Could you post the automation chain here? Maybe you should use documentModified instead of created.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 19:24:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319853#M6854</guid>
      <dc:creator>LaraGranite_</dc:creator>
      <dc:date>2019-10-11T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319854#M6855</link>
      <description>&lt;P&gt;But I'm using Create Version operation in the chain. So chain can't be called in document modified right?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 04:12:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319854#M6855</guid>
      <dc:creator>Reethu_Das</dc:creator>
      <dc:date>2019-10-14T04:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Document using automation chain which is called in event documentCreated</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319855#M6856</link>
      <description>&lt;P&gt;In Chain, while uploading a document, i'm checking for similar file name and if found a document with same file name then Blob.AttachOnDocument is called to attach to old document as main content with updated version.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 04:16:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-document-using-automation-chain-which-is-called-in-event/m-p/319855#M6856</guid>
      <dc:creator>Reethu_Das</dc:creator>
      <dc:date>2019-10-14T04:16:47Z</dc:date>
    </item>
  </channel>
</rss>

