Hi,
I’m trying send a document through a call activity.
To get the document id, i’m following the documentation ( http://documentation.bonitasoft.com/documents ); and when i use the code:
apiAccessor.getProcessAPI().getLastDocument(processInstanceId, “mainDoc”).getId(); i have the exception "org.bonitasoft.engine.commons.exceptions.SObjectNotFoundException: Document not found: "
Has anyone ever experienced this? What can I be doing wrong?
In time: I created the document in the main process and i use the widget file for save file in variable “mainDoc”.