Hi,
I am developing a workflow where a user can choose a document to be downloaded as PDF on local directory, by starting a workflow..
I am using the following function, where for the input I am passing the getNodePath(token, uuid):
I am developing a workflow where a user can choose a document to be downloaded as PDF on local directory, by starting a workflow..
I am using the following function, where for the input I am passing the getNodePath(token, uuid):
Code: Select all
However I get an error, it cannot find the input document. i have even tried to set the webdev url as well and again the same error.input = getNodePath(token, uuid):
output = "c://local/folder/";
DocConverter.getInstance().doc2pdf(input, "application/vnd.openxmlformats-officedocument.wordprocessingml.document", output);Code: Select all
Error in application/vnd.openxmlformats-officedocument.wordprocessingml.document to PDF conversion
Caused by: com.openkm.core.ConversionException: Error converting document: input document not found