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
3 replies
Subscribers
7 subscribers
Views
2352 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a SAIL form, which is used by the Start Form, as well as User Input Task
guozhangy
over 9 years ago
I have a SAIL form, which is used by the Start Form, as well as User Input Task (so the form can be edited later). The SAIL Form has a fileUploadField, and the uploaded document is written to a PV. The fileUploadField works in Start Form, the uploaded document is saved the Process Variable. But when I went to Edit task, I tried to upload different document, but the PV that holds the document still kept the original value (from the start form), while the value from other text fields are saved. Here is the code snippet:
1. SAIL form (upload field only) :
a!fileUploadField(
label: "Select file to upload",
instructions: "Any format is acceptable.",
required: true,
target: ri!tempFolder,
value: ri!fileContent,
saveInto: ri!fileContent
)
2. Invoke the SAIL form (from Start Form and User Input Task):
rule!display_form(pv!fileContent)
3. Both ri!fileContent and pv!fileContent are document type....
OriginalPostID-137678
OriginalPostID-137678
Discussion posts and replies are publicly visible
Parents
0
guozhangy
over 9 years ago
...
Any idea what might be wrong? Maybe I should use different PV to hold the documents from Start Form and Edit Activity? Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
guozhangy
over 9 years ago
...
Any idea what might be wrong? Maybe I should use different PV to hold the documents from Start Form and Edit Activity? Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data