Able to store any documents in to document data type

Does any one aware of this issue?

I am using my local server to upload a document in Appian using a!fileUploadField() component and storing it into document data type. When I look at interface rule input, I can see Appian is updating it with temp document, as expected. But after submitting form when trying retrieve a document in process model, I cannot Even my document PV is null seems like Appian is not updating a PV. I am attaching screenshot. Please let me know if this known bug in 17.3 local instance. I tested same in cloud Appian 17.3 Instances and local 17.1, it works file.  

 

a!formLayout(
  
  contents: {
    a!sectionLayout(
      label: "Doc Upload",
      contents: {
        a!fileUploadField(
          maxSelections :1,
          target:cons!SBX_TARGET,
           label: "Test Document",
      value: ri!document,
      saveInto: ri!document,
      required: true
          
          
        )
      }
    )
 
  },
  buttons: a!buttonLayout(
    primaryButtons: {
      a!buttonWidgetSubmit(
        label: "Submit",
        style: "PRIMARY",
        saveInto: {}
      )
    }
  )
  
)

  Discussion posts and replies are publicly visible

Parents
  • Hi Bavesh,

    Lets' try to modify the settings as follows:
    1. In the process model node INPUT "Save Into" field, do not save the any value, leave it as "--Not Saved--"
    2. In the process model node OUTPUT "Expression" field, add back the Activity Class Parameters (which should be "ac!document" in your case)
    3. Add one Script Node after your inpur task node, at INPUT, set "value" as "pv!docuemt" and "saveInto" to the pv "document"

    Let's see if this work :)
Reply
  • Hi Bavesh,

    Lets' try to modify the settings as follows:
    1. In the process model node INPUT "Save Into" field, do not save the any value, leave it as "--Not Saved--"
    2. In the process model node OUTPUT "Expression" field, add back the Activity Class Parameters (which should be "ac!document" in your case)
    3. Add one Script Node after your inpur task node, at INPUT, set "value" as "pv!docuemt" and "saveInto" to the pv "document"

    Let's see if this work :)
Children