We are trying to migrate workbench process from ES2 to ES4, We are facing an issue in passing the input variables for generatePDFOutput process as Document data type. we need to pass Filename and the repository path of the file as two input string variables. The older generatePDFOutput(deprecated) process expects string as input as we supply them using URLSPec datatype however the new ES4 process expects the input as a Document.
Please can anyone help us how to pass a document variable dynamically(repository:///root folder/folder...) to the newer generateOutputPDF process? Please help.