Issue
- I would like to send a confirmation email to the user who just submitted a Form
Environment
- Liferay DXP 7.1+
Resolution
It is possible to use the Workflow engine to send an email to the logged-in user who submitted the form. Please follow the steps below:
- As an Admin user navigate to Control Panel > Workflow > Process Builder
- Create a Workflow with one task
- Add a notification to the task (make sure that the Notification Type is "Email" and the Recipient Type is "Asset Creator")
- Save the Workflow
- Navigate to Content&Data > Forms and open the form where you would like to apply the workflow
- Click the Ellipsis menu in the upper right corner and select Settings
- Under Form options, select the previously created workflow
- Save the Form
- Log in as a different user and submit the form
Result: The User will receive a notification email about the form submission.
Additional Information
- For more information about the configuration, please refer to this Knowledge Base article: Workflow and Forms