I have a requirement to trigger a workflow after form submission using Submit to forms workflow submit action in the given Submit Action drop-down. After selecting Submit to forms workflow submit action from the drop-down, how can I relate/assign some workflow to this form? I haven't seen any options to select the workflow once we select Submit to forms workflow submit action from the drop-down. I have gone through https://helpx.adobe.com/aem-forms/6/aem-workflows-submit-process-form.html but this explains the different way.
Please let me know how can I trigger a workflow after form submission using Submit to forms workflow submit action.
Are these answers useful? Help other community members by marking useful answers as accepted.
As the submit action indicates this is to initiate an AEM FORMS Workflow not an AEM workflow. You need to install the AEM Forms JEE server in order to get the dropdown to populate. There are configuration steps required to connect your author/publish instance to get this connection.
I have tried that and its working but that is not I want. My requirement is to trigger the workflow using the option provided by Out-of-the-box (i.e.) Submit to forms workflow submit action from the given Submit Action drop-down.
Whenever we select this option from the drop-down, how can I select/assign a workflow that should be called after submission?
As Lokesh said, if you follow the instruction you should be able to achieve your goal. If you are facing any issues or error in the process, please post it here and then the members might be able to help you.
To send the email to the user once the form as been submitted, you need to trigger the workflow by configuring the launcher with "EventType" as Node Created. The attached package in the document contains workflow,form page and with the launcher configured with the Event type as node created to initiate the workflow.