Capturing document ID for future retrieval

Hi,

I noticed that, in my current Appian environment, the document ID of the file uploaded via a!fileUploadField is the same as when it is saved in the destination folder eventually.  Is this to be expected?  I was under the impression that a temporary ID is generated when the file is uploaded and the document ID is only confirmed when it is successfully saved in the destination folder.

Also, is this document ID unique only within an environment?  I would like to capture the ID of the document uploaded and saved, and use it for future retrieval (via a download link).

Thanks.

  Discussion posts and replies are publicly visible