Skip to main content
gowthamib6514
New Participant
Sep 21, 2023 4:57 PM UTC
Question

Issue with uploading documents

Hi,

When I'm trying to upload a document by using startprocess , I'm not able to get the name using document() function. It's showing error as document doesn't exist/ has been deleted. But the document is present in target folder and docid is present..Let me know if am missing anything:

7 replies

stefanhelzle0001
Brainy
Sep 21, 2023 5:23 PM UTC

You are missing that a!startProcess does NOT upload files. You need to use a submit button or submit link.

sarathkumr268295
Known Participant
Sep 22, 2023 5:21 AM UTC

Hi Stefan,
We are calling the a!startProcess on the click of submit button. On the click of that button, we are passing the docid to the process model and in process model, we are using document function inside a script task to get the document name. Its throwing error in the script task stating document does not exist or has been deleted

shikhat
Inspiring
Sep 22, 2023 5:31 AM UTC

Hi , please check if you have access to the document, check the doc folder security as well.