Hello everyone.
We currently have a Bonita process that is to print PDF customer reports, once printed they are uploaded to Bonita through a form and it is reviewed by other actors with Bonita before sending it.
I would like to be able to automate the loading of the file by the form by script.
I've been reviewing this document but I can't get the document to show up in the verification form: https://documentation.bonitasoft.com/bonita/2021.1/handling-documents
I tried adding an operation with this code but does't works:
import org.bonitasoft.engine.bpm.document.DocumentValue
def file = new DocumentValue ("C:\\Users\\lmachado\\Desktop\\Test.pdf")
return file