cancel
Showing results for 
Search instead for 
Did you mean: 

Error after operation Document.Move

Corinne_
Confirmed Champ
Confirmed Champ

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 :

- Context.FetchDocument
- Document.Move:
    target: "@{Document.parent.path}/archives"
- Context.FetchDocument

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.

It is the same described here with the difference it is systematic.

Thanks in advance

12 REPLIES 12

I tried that. I get exception ```org.nuxeo.ecm.automation.InvalidChainException

Corinne_
Confirmed Champ
Confirmed Champ

Thank you manuek ! The solution was :

- Context.FetchDocument
- Document.Move:
    target: "@{Document.parent.path}/archives"
- Document.Fetch:
    value: "@{Document.path}"
- Seam.NavigateTo: {}

manuek_
Star Contributor
Star Contributor

Hi,

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.