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-26-2015 09:41 AM
Hi, can you try without those quotes in your target parameter ?
08-26-2015 10:51 AM
Studio doesn't let me do that :
Validation error: : JS-YAML: bad indentation of a mapping entry at line 3, column 13:
target: @{Document.parent.path}/archives
08-26-2015 11:14 AM
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.
08-26-2015 11:19 AM
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.
08-27-2015 04:23 AM
Oh sorry, though what document do you want to fetch in your last instruction ?
08-28-2015 05:51 AM
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.
08-28-2015 07:02 AM
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.
08-28-2015 08:56 AM
With or without Fetch I get the error. I tried "Seam.NavigateTo" without success. I don't know what to do.
08-28-2015 12:44 PM
Hi,
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.