08-25-2015 03:12 AM
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
08-29-2015 04:09 AM
I tried that. I get exception ```org.nuxeo.ecm.automation.InvalidChainException
08-29-2015 04:26 AM
Thank you manuek ! The solution was :
- Context.FetchDocument
- Document.Move:
target: "@{Document.parent.path}/archives"
- Document.Fetch:
value: "@{Document.path}"
- Seam.NavigateTo: {}
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.