cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: Document does not exist error

s_
Champ in-the-making
Champ in-the-making

I'm using @ldoguin's REST Client example to fetch some data from openlibrary.org upon document creation.

User goes to create a new book:

alt text

At this time, once the user clicks Create, I would like to fetch rest of the information about the book from openlibrary.org with the given ISBN.

However, there's no document being passed into my OperationMethod, resulting into Document does not exist error.

Here's my event handler:

alt text

Lastly, here's my automation:

alt text

Thanks for the help!

1 ACCEPTED ANSWER

ThibArg_
Star Contributor
Star Contributor

Hi,

I think you should start the chain with the Fetch > Context Document(s) operation, which makes sure the current document is available for the next operation (here, ISBNQuery).

Thibaud

View answer in original post

2 REPLIES 2

ThibArg_
Star Contributor
Star Contributor

Hi,

I think you should start the chain with the Fetch > Context Document(s) operation, which makes sure the current document is available for the next operation (here, ISBNQuery).

Thibaud

s_
Champ in-the-making
Champ in-the-making

This was it. Although I did try this, I had some other issues in my configurations, thus I thought it wasn't it.

Getting started

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.