<?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 Error after operation Document.Move in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324481#M11482</link>
    <description>&lt;P&gt;Hi,
I think my problem is that I don't understand Document.Move operation result or don't know to use it.
Here is my "simple" automation chain :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Context.FetchDocument
- Document.Move:
    target: "@{Document.parent.path}/archives"
- Context.FetchDocument
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get a NoSuchDocumentException after automation chain execution.
What is wrong ?  Is it because Document.Move does not return the moved document ?
And how to avoid this behaviour ? I can't find a simple way.&lt;/P&gt;
&lt;P&gt;It is the same described &lt;A href="https://answers.nuxeo.com/general/q/ae0fa9749a724e4fa36c18138f921292/Random-exception-in-a-workflow-after-a-move-document-fail-to-fetch-doc"&gt;here&lt;/A&gt; with the difference it is systematic.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2015 07:12:14 GMT</pubDate>
    <dc:creator>Corinne_</dc:creator>
    <dc:date>2015-08-25T07:12:14Z</dc:date>
    <item>
      <title>Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324481#M11482</link>
      <description>&lt;P&gt;Hi,
I think my problem is that I don't understand Document.Move operation result or don't know to use it.
Here is my "simple" automation chain :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Context.FetchDocument
- Document.Move:
    target: "@{Document.parent.path}/archives"
- Context.FetchDocument
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get a NoSuchDocumentException after automation chain execution.
What is wrong ?  Is it because Document.Move does not return the moved document ?
And how to avoid this behaviour ? I can't find a simple way.&lt;/P&gt;
&lt;P&gt;It is the same described &lt;A href="https://answers.nuxeo.com/general/q/ae0fa9749a724e4fa36c18138f921292/Random-exception-in-a-workflow-after-a-move-document-fail-to-fetch-doc"&gt;here&lt;/A&gt; with the difference it is systematic.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324481#M11482</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-25T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324482#M11483</link>
      <description>&lt;P&gt;Hi, can you try without those quotes in your target parameter ?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 13:41:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324482#M11483</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-08-26T13:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324483#M11484</link>
      <description>&lt;P&gt;Studio doesn't let me do that :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Validation error: : JS-YAML: bad indentation of a mapping entry at line 3, column 13:
        target: @{Document.parent.path}/archives
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Aug 2015 14:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324483#M11484</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-26T14:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324484#M11485</link>
      <description>&lt;P&gt;I don't understand, I've just been adding a Document.Move operation with @{Document.parent.path}/archives as a value for the target parameter and Studio was OK with that. Goog luck.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:14:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324484#M11485</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-08-26T15:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324485#M11486</link>
      <description>&lt;P&gt;yes, in the "visual" automation chain editor there is no quote, if you switch to the script editor (from which  I copied to my message above) there are some quotes.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:19:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324485#M11486</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-26T15:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324486#M11487</link>
      <description>&lt;P&gt;Oh sorry, though what document do you want to fetch in your last instruction ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2015 08:23:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324486#M11487</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-08-27T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324487#M11488</link>
      <description>&lt;P&gt;The moved document. The error desn't happen during Fetch operation but on the user view refresh but I can't find a solution to avoid that.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:51:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324487#M11488</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-28T09:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324488#M11489</link>
      <description>&lt;P&gt;Maybe you are trying to fetch a document that has been moved. The move operation returns the moved document as an input for the next operation in your chain so I guess this fetch thing is unnecessary.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 11:02:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324488#M11489</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-08-28T11:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324489#M11490</link>
      <description>&lt;P&gt;With or without Fetch I get the error. I tried "Seam.NavigateTo" without success.  I don't know what to do.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:56:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324489#M11490</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-28T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324490#M11491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:44:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324490#M11491</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2015-08-28T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324491#M11492</link>
      <description>&lt;P&gt;I tried that. I get exception ```org.nuxeo.ecm.automation.InvalidChainException&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2015 08:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324491#M11492</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-29T08:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324492#M11493</link>
      <description>&lt;P&gt;Thank you manuek ! The solution was :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;- Context.FetchDocument
- Document.Move:
    target: "@{Document.parent.path}/archives"
- Document.Fetch:
    value: "@{Document.path}"
- Seam.NavigateTo: {}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Aug 2015 08:26:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324492#M11493</guid>
      <dc:creator>Corinne_</dc:creator>
      <dc:date>2015-08-29T08:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error after operation Document.Move</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324493#M11494</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 16:32:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-after-operation-document-move/m-p/324493#M11494</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2015-12-14T16:32:42Z</dc:date>
    </item>
  </channel>
</rss>

