Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
I am looking for a solution to invoke customize workflow process on click of submit action of OOTB AEM form and pass form data in the email template.
Also, the fields in the form may change in future as per requirement so how this can be achieved without updating the code every time.
1. Events in AEM works on a change / modification in node or property , it will automatically trigger event listener. Inside event listener you can call Workflow process
 http://blogs.adobe.com/experiencedelivers/experience-management/event_handling_incq/ and https://helpx.adobe.com/experience-manager/using/events.html
2. Based on property or node change done, you can create a workflow launcher which will call another workflow (would be simple and configurable)
Reference link:- AEM Listeners & Events