Trigger AEM workflow on a Mobile Form Submission
[AEM Forms 6.5]{class="badge informative"}
A common use case is to render the XDP as HTML for data capture activities. On submission of this form, there may be an need to trigger an AEM workflow. In the AEM workflow, you can merge the data with the XDP template and present the generated PDF for review and approval. The form is rendered on a publish instance and the workflow is triggered on an AEM processing instance.
The following steps are involved in the use case
- The user fills and submit an HTML5 form (HTML5 rendition of XDP).
- The submission is handled by an servlet in the publish instance.
- The servlet stores the data in a predefined folder in the repository of the AEM processing instance.
- Workflow launcher is configured to trigger an AEM workflow every time a new file is added under a particular folder.
This tutorial walks through the steps needed to accomplish the above use case. Sample code and assets related to this tutorial are available here.
Next Steps
recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e