Hi everyone, I have a use case where I need to send files to external system for validation. I'm submitting the form which is chained to itself, so that files are persisted in the Appian file system and then I'm sending this to an external system. User gets to see the progress percentage.So the problem is when Appian is very very slow ( due to other colleagues playing around, Appian internal apis are taking some time to write it down. Any way I can check file exist in actual so that I can have some sort of delay retries?
Discussion posts and replies are publicly visible
When you upload the file to Appian, it returns an ID... you just need to query the document using , for example , getcontentobjectdetailsbyid (if the doc does not exists you receive an error)
In any case, I’m not quite sure I fully understand your question.
I added this check before calling the external system integration but this returns "No object with this ID has been found" when doc is not there but for my case it seems like the meta is written as this returns true. When I actually create a request body which is multipart I use todocument(id) where it fails as it's return empty.