Automation: Document does not exist error
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:
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:
Lastly, here's my automation:
Thanks for the help!
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