Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
5 subscribers
Views
6097 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Updating version of existing file.
amitas
over 7 years ago
There is a dropdown having all the names of files stored in knowledge center. User will select the desired file and click on update button. After clicking on the button, the desired file should be updated. I have saved the selected file in a new process variable of type document in script task and then given the same variable as target output in user input task having the value of the new file upload variable. Its giving an error "Invalid Destination Folder".Please help.
OriginalPostID-237323
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 7 years ago
@amitas As said above by other practitioner, kc or folder couldn't be a target in the case of uploading a new version(in fact a folder location creates a new file rather than new version of the existing file)of an existing document. What you have done now seems to me nearly correct(just make sure that the selected document is stored in a variable and the same variable is the target of the fileUploadField). Added to this, I would suggest digging deep into the issue by checking from security perspective if you are performing the task as a basic user, checking the form/interface configurations and exploring logs as well to see if you can get any clue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 7 years ago
@amitas As said above by other practitioner, kc or folder couldn't be a target in the case of uploading a new version(in fact a folder location creates a new file rather than new version of the existing file)of an existing document. What you have done now seems to me nearly correct(just make sure that the selected document is stored in a variable and the same variable is the target of the fileUploadField). Added to this, I would suggest digging deep into the issue by checking from security perspective if you are performing the task as a basic user, checking the form/interface configurations and exploring logs as well to see if you can get any clue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data