Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Access form data from workflow in AEM 5.6.1

Avatar

Level 2

Hi Guys,

I want to create a form using form component. Once form is submitted I want to trigger a workflow ( I guess name of workflow I can specifiy in form dialog box).

Inside that workflow... How can I access to all values filled in the form?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

One way to perform this use case is to submit the form data to a custom sling servlet. 

In side the sling servlet, you can write the form fields to the JCR. Then programmatically invoke the workflow.

http://scottsdigitalcommunity.blogspot.ca/2013/09/creating-workflows-for-adobe-experience.html

Write a custom workflow step that reads the JCR node where form values are stored. Here is how you create a custom workflow step.

http://scottsdigitalcommunity.blogspot.ca/2013/10/creating-custom-aem-workflow-steps-that.html.

Now you have form values in a AEM workflow.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

One way to perform this use case is to submit the form data to a custom sling servlet. 

In side the sling servlet, you can write the form fields to the JCR. Then programmatically invoke the workflow.

http://scottsdigitalcommunity.blogspot.ca/2013/09/creating-workflows-for-adobe-experience.html

Write a custom workflow step that reads the JCR node where form values are stored. Here is how you create a custom workflow step.

http://scottsdigitalcommunity.blogspot.ca/2013/10/creating-custom-aem-workflow-steps-that.html.

Now you have form values in a AEM workflow.