Understand form workflow
Form workflow refers to the workflow triggered when there is an activity on a form. The activities that you can perform on a form are listed below.
- Created or Edited - Create a new record or edit an existing record in the form
- Created - Create a new record in the form
- Edited - Edit an existing record in the form
- Deleted - Delete an existing record in the form
A form can have multiple workflows that get triggered when the above mentioned activities are performed. There needs to be a sequence for the workflows to be executed one after the other. So, the workflows get executed in the order of creation. Let's assume you have created three workflows in the following order:
- When the form is created.
- When the form is created or edited.
- When the form is edited.
The first workflow (when the form is created) is executed first, followed by the second and third workflows.
You can create a form workflow and associate actions. The workflow is triggered when there is an activity on the form, and the associated actions are executed.
Let us assume the form workflow is to create a new lead in your CRM account when visitor information is added to Creator. In this workflow, adding visitor information is the form activity which in turn triggers the creation of a new lead in CRM. Similarly, you can create form workflows by specifying the form activity and add the action to be executed. There are five action types that you can associate with a form workflow. They are: