Skip to main content
New Participant
May 5, 2022
Question

File upload component

  • May 5, 2022
  • 6 replies
  • 1 view

Hi all,

    I have created interface where I am uploading document. After uploading document I wanted to convert it into zip file. The issue I am facing is after uploading file it gets stored into doc folder but not passed to process model. So my question is how I can pass document to process model once user upload file?

  PFA Below screenshots

6 replies

gopalk2865
Participating Frequently
May 5, 2022

HI nikhilk0006, You must be using rule input to store doc id of uploaded document right. So in process model, map the rule input with corresponding process variable in Data tab of UIT node, and save doc id in process variable. Once you save the doc id in pv , you can use it through out the process.

New Participant
May 5, 2022

Thank you [mention:8b930cc189ea4ddf8fcb9c275d619049:e9ed411860ed4f2ba0265705b8793d05] !

May 5, 2022

Hi,

As Gopal mentioned, you need to create a process variable to save the uploaded document form user input task to process model. You need to map user input nodes to activity class variables(you can activity class variables from use input task data --> input) and map this activity class variable to process variable. 

New Participant
May 5, 2022

Thank You Naresh!

manishk0011
May 5, 2022

In Appian the document can be assess using its Id, once you upload any document, you need to store its document Id to a process variable and pass it down to process model for further processing.

New Participant
May 5, 2022

Thank you [mention:cfbe6ecd8d1440f5be2e22b6d0307add:e9ed411860ed4f2ba0265705b8793d05]!