AI skill document extraction

Certified Senior Developer

Hi All,

We have a scenario to extract data from PDF. In interface we have a screen to upload file and on submit starting a process using a!start process to extract data from that file. It is working fine from developer mode.

when we add that screen to site document is not passing to that process, we are getting error like invalid content ID.

Thank you.

Priyanka

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to priyanka bandi

    Hi,

    a!submitUploadedFiles() Function - Appian 23.3, Please go through the link. In examples, you can see how to Upload a file outside of a start form or task and start a process. 

        a!buttonArrayLayout(
          buttons: {
            a!buttonWidget(
              label: "Submit",
              style: "PRIMARY",
              saveInto: a!startProcess(
                /* Replace this with a constant of type Process Model that writes the image ID */
                processModel: cons!PROCESS_MODEL_CONSTANT,
                processParameters: {
                  vehicle: local!data
                },
                /* Only upload the files if the process completes successfully */
                onSuccess: a!submitUploadedFiles(
                  onSuccess: a!save(local!submissionSuccessful, true),
                  onError: a!save(local!submissionSuccessful, false)
                ),
                onError: a!save(local!submissionSuccessful, false)
              )
            )
          },
          align: "START"
        )

Children
No Data