Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Form will not render from Workspace

Avatar

Former Community Member
I have an xfaForm that will be filled out to kick off a workflow via a TaskManager endpoint. However, when I try to start the workflow from within Workspace, it throws the following error code at me:



ALC-WKS-007-040



I have triple checked that my form and workflow meet the following criteria:



1) The variable I am using for my form is of type xfaForm

2) The variable I am using for my form is set to both "Input" and "Required"

3) The render service for the form is set to "Default Render" (invoke)

4) A button exists on the form and is set to "Submit"



I was under the impression that should the above for criteria be met, that a form should render but am I missing something?



Thanks in advance!
10 Replies

Avatar

Former Community Member
I believe the issue is your renderer. Which version of LC are you using?

Avatar

Level 10
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)



Jasmin

Avatar

Level 10

Jasmin

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:

formURL

inputDataDoc

serverEmail

targetURL

taskId

userAgent

for the outFormDoc i'm selecting Document.

could you pls help me on this?

Nith

Avatar

Level 10

Please do a search for RenderPDFForm in the Workbench help.

All the parameters are explained.

Jasmin

Avatar

Level 10

Thanks Jasmin.

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.

Nith

Avatar

Former Community Member
To Paul:



I am using 8.1 and am using the Default Render renderer.



To Jasmin:



I am using a PDF in my xfaForm variable.

Avatar

Former Community Member
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.

Avatar

Former Community Member
Paul



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):



ALC-WKS-007-027



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.

Avatar

Former Community Member
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.

Avatar

Former Community Member
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).