Hello,
In our project, I have created an interface that has a file upload option. When I used that interface at views of some record file upload is not working. However, That interface is working fine in Appian designer and as a start form for process models at other places.
Is it possible to upload files from interfaces used in views of a record? FYI, we are using this record on a site.
If it is not possible, Kindly suggest any work around for it.
Thanks,
Shikhar
Discussion posts and replies are publicly visible
The File Upload Field (as noted in the documentation) is only functional and supported for uploads when used within a process - either a start form or a user input task.
The standard recommended procedure for tying file uploads to a particular Record is to create a Related Action that launches a new process to handle the file upload.
I absolutely agree with Mike.
In order to upload a document, you need to have it in the process model. That too within a node of that PM and not really passing it from the interface using startProcess. Let's understand this concept in detail. If you have a process with a task to accept file uploads, no matter if you continue the workflow by using a submit button or a cancel button, the task will be submitted and the document will be uploaded. You will have to explicitly delete the document using a Smart service in case you pressed "Cancel" or any similar button. So it means, to upload a document, you need to have it in a UIT and submit it.
Now the best workaround can be,You can use a related action "Upload documents" to start a process with chained nodes till the user inputs task where you can add the file upload field. As soon as you submit that task, your document will be uploaded, as I explained above.
Thanks,Harshit