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
6101 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 Would you please be able to attach the code here so that the practitioners can take a look at it?. As long as your intention is to create a new version of a document, the target should be the variable which holds the document you are desiring to create the version for.
The 'target' attribute in the documentation at https://forum.appian.com/suite/help/16.2/SAIL_Components.html#FileUpload says "Determines the eventual location of the uploaded file. When a Folder, the uploaded file is created as a document in that folder. When a Document, the uploaded file is created as a new version of that document."
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 7 years ago
@amitas Would you please be able to attach the code here so that the practitioners can take a look at it?. As long as your intention is to create a new version of a document, the target should be the variable which holds the document you are desiring to create the version for.
The 'target' attribute in the documentation at https://forum.appian.com/suite/help/16.2/SAIL_Components.html#FileUpload says "Determines the eventual location of the uploaded file. When a Folder, the uploaded file is created as a document in that folder. When a Document, the uploaded file is created as a new version of that document."
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data