Dear Team,
Interface error : document does not exist or deleted error appearing.
We have document id with us , todocument(docid) is giving us document name , but the same same documentid when we are passing to document() it is throwing the same error.
We are also not able to search document in objects using doc id. Any idea ?
Discussion posts and replies are publicly visible
Has that document already been uploaded? I mean, including submit of the form?
Yes, on form submit we add the document id into DB and pull it into next step for approval task , on approval task it is throwing error . Happening with few random requests not all.
If that does not happen with all processes, then what is the difference? Did you check process history?
There's an object existence plugin that you can utilize. It comes with isObjectExists() function. That's a fail-safe to keep your app going when it happens. Next is to figure out what's seemingly randomly taking out your documents.
FEATURE REQUEST: I think it's an important thing lacking from the current product, and really should be rolled into OOTB Appian, that is simply not crashing when you search for a document that doesn't exist, but having an actionable, understandable output, "Doc not found" or "-1" or something else that doesn't grind my program to a halt without another product to help.