How to create a new lead programmatically through workflow | Community
Skip to main content
Charlie_Shafton
Adobe Employee
Adobe Employee
October 16, 2015
Solved

How to create a new lead programmatically through workflow

  • October 16, 2015
  • 3 replies
  • 1124 views

I want to create a workflow for a newsletter subscription, when the submit button is clicked i want to execute a workflow which will insert a new lead in repository.

This is a cross post of an unanswered question in a LinkedIn Group.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

smacdonald2008
Level 10
October 16, 2015

You can submit to a custom AEM sling servlet. In the servlet, use the AEM Java API to invoke the workflow. See http://helpx.adobe.com/experience-manager/using/invoking-experience-manager-workflows-using.html.

Adobe Employee
January 20, 2023