I believe the issue is your renderer. Which version of LC are you using?
Are you using an XDP or a PDF in your xfaForm variable.
You can't use the Default Render with an XDP. You need to use the RenderPDFForm from Samples - Forms (in 8.0.1) or within Process Management (ES update 1)
I am using 8.1 and am using the Default Render renderer.
I am using a PDF in my xfaForm variable.
If you want to stick with a PDF then you will need a docForm not an XFAForm variable. And you can use the default renderer with that one. If you want to stick with your xfaForm then you will have to use an XDP with the sample renderer that Jasmin mentioned.
I tried making my xfaForm variable into a Document Form variable. I then saved my process, logged back into Workspace and kicked off the workflow only to get the following error (different from above):
Are you sure that you can't render an xfaForm variable using the Default Render process? I am confident I have done so before.
EDIT: I just created a new workflow in a completely seperate environment that uses an xfaForm variable with a dynamic PDF as Input and Required and it rendered fine.
I think something is up with my client's Forms ES.
I just tried saving the form as an XDP and storing it in an xfaForm variable. Regardless of which render service I use (the Samples Render PDF or Default Render), the form will not render.
Problem solved - and all it took was a restart of Jboss.
The issue (and I'm not 100% clear about the "why" and "when" of it) is that Forms ES just stopped being able to render forms properly. As I stated, restarting JBoss fixed the issue (whatever it was).
I was trying to use a XDP form and the RenderPDFForm service (as you mentioned here). but i'm still getting error in rendering xdp file.
But i dono what values to be set for the following input variables:
for the outFormDoc i'm selecting Document.
could you pls help me on this?
Please do a search for RenderPDFForm in the Workbench help.
All the parameters are explained.
Created XFA variable with both PDF & XDP forms and tried in both renderes (Default Render& RenderPDF). All are working fine.
Problem was only with the parameter settings.