I have a form implemented as a PDF form and would like to add a workflow step to my process so that the PDF form can be sent as an email attachment. Based on a previous posting, it seems that I need to use the RepositoryServices Read Resource Content operation to get the PDF form from the repository and add it to a process variable of type document. When I do this I get an type coercian error that states: "Cannot coerce object: com.adobe.idp.taskmanager.form.impl.xfa.XFARRepositoryFormInstance@15bb014 of type com.adobe.idp.taskmanager.form.impl.xfa.XFARRepositoryFormInstance to type class.lang.Boolean
I'm setting the Input Resource Uri to the literal value "/BDI_DEV/forms_BDI REP Form.pdf" and the Output variable to a varaible of type document - which as far as I can tell from the documentation should be correct. For some reason, however, the error message seems to indicate that the system is attempting to store the repository object in a boolean - I do have a process variable of type boolean, but the output variable I've selected is of type document.