Problem: Single file uploaded to Appian. Two files appear in the relevant accdoc

Problem: Single file uploaded to Appian. Two files appear in the relevant accdocs. Only one of the files can be deleted by process. All files must be removed.

I have a very simple model which uses the upload document element within the initial form. I then record the physical path to the document. After which I delete the document. Checking back in the relevant accdocs folder there appears to be an additional copy of the document intially uploaded in the attended task. Aside from the the function being used to record the physical url of the document in the KC, all other components of the model are default.

Is this a bug? Or something resolved in a higher version of Appian?

Thanks,
James...

OriginalPostID-74854

OriginalPostID-74854

  Discussion posts and replies are publicly visible

Parents
  • the model in question is a very simple three node process. an attended task with the appian document upload module. a script task fetching the local file system path to the document held a singular document variable and the appian delete document node. the document pv is not set to multiple and when the process is running you are only presented with a single document upload.

    It looks to me like the document you select for upload is in fact uploaded as soon as you select it. The system then uploads the document again once the form is submitted.

    This really is a very simple process and rather worrying since the process holds absolutely no reference to the "spare" document. Meaning I now have an orphaned file sat inside accdocs with no way of knowing it is there. With high file through put this can prove to be a major problem long term.
Reply
  • the model in question is a very simple three node process. an attended task with the appian document upload module. a script task fetching the local file system path to the document held a singular document variable and the appian delete document node. the document pv is not set to multiple and when the process is running you are only presented with a single document upload.

    It looks to me like the document you select for upload is in fact uploaded as soon as you select it. The system then uploads the document again once the form is submitted.

    This really is a very simple process and rather worrying since the process holds absolutely no reference to the "spare" document. Meaning I now have an orphaned file sat inside accdocs with no way of knowing it is there. With high file through put this can prove to be a major problem long term.
Children
No Data