> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Form Event Trigger

> Learn how to trigger integration & automation via form events, including create, edit, delete, and comment actions. Learn how to set up an integration & automation step with a form event trigger type in the YiDA workbench.

In addition to reacting to changes on its own form, the form event trigger can also be triggered automatically when another workflow executes a step that satisfies this trigger event; automatic triggering does not currently support triggering by business association rules.

## Steps

Follow these steps to create an integration & automation whose trigger type is form event trigger.

1. Sign in to the YiDA workbench and click **My apps**.

2. Select the app for which you want to create the integration & automation to open the **App settings** page.

3. Click **Integration & Automation**, and then select **Create integration & automation** > **Create from scratch**.

4. In the dialog box, enter a name for the integration & automation, select **Form event trigger** as the trigger event, specify the form that triggers the event, and click **Confirm**.

5. On the integration & automation editing page, click **Form event trigger**.

6. In the settings dialog box, configure the form trigger event.

The trigger event can trigger subsequent step rules through the current form's create success, edit success, delete success, comment success, or workflow event.

<table>
  <tr>
    <td colSpan={2}>**Configuration item**</td>
    <td>**Description**</td>
  </tr>

  <tr>
    <td rowSpan={5}>**Trigger event**</td>
    <td>**Create success**</td>
    <td>Triggers the integration & automation when a user submits a form successfully.</td>
  </tr>

  <tr>
    <td>**Edit success**</td>
    <td>Triggers when a user edits previously submitted form data. Only edits to regular form data are supported; edits at workflow form Steps do not trigger the event.<br />Two modes are supported: trigger when specific fields are modified, and trigger when any field is modified.</td>
  </tr>

  <tr>
    <td>**Delete success**</td>
    <td>Triggers the integration & automation when existing data in the form is deleted.</td>
  </tr>

  <tr>
    <td>**Comment success**</td>
    <td>Triggers the integration & automation when someone adds a comment to a data record in the form.</td>
  </tr>

  <tr>
    <td>**Workflow event**</td>
    <td>When the form that triggers the integration & automation is a workflow form, triggering by approval result and approval step actions is also supported.<br />For example, after an approval is completed, update fields in the intermediate table if the result is Accept. In a procurement scenario, when a purchase request is approved, the purchase details are added to the procurement information intermediate table.<br />**Note**: Workflow events support Multiselect. This feature is only available for workflow forms. Premium workflow triggers are only supported in the Professional edition (Premier edition) and the Dedicated edition. If the trigger step configured in the integration & automation has an auto-approval rule, auto-approved tasks do not trigger this automation flow during actual workflow execution.</td>
  </tr>

  <tr>
    <td>**Trigger method**</td>
    <td>**Automatic trigger**</td>
    <td>Integration & automation flows support **Allow automatic trigger**. Once automatic triggering is On, the current flow is triggered when another automation flow or workflow satisfies its trigger event.<br />**Note**: Automatic triggering supports up to three consecutive levels. That is, Flow A => triggers => Flow B, Flow B => triggers => Flow C, Flow C => **cannot trigger** ≠> Flow D.<br />Automatic triggering does not take effect in the following cases:<br /><ul><li>For OA approvals initiated through integration & automation, the **App event trigger** configured after the OA approval is completed does not take effect. In this case, an OA approval submitted manually can trigger the automation flow.</li><li>When an approval is initiated through integration & automation, the workflow **Create** trigger configured on the corresponding workflow form does not take effect.</li><li>When data is created or updated through business association rules, the **Form event trigger** configured on the target form does not take effect.</li><li>When data is created or edited across apps through integration & automation, the automation flow configured on the target form does not take effect.</li></ul></td>
  </tr>

  <tr>
    <td rowSpan={2}>**Data filter**</td>
    <td>**All data**</td>
    <td>All data means no filter is applied and every record is returned.</td>
  </tr>

  <tr>
    <td>**Filter by condition**</td>
    <td>Filter by condition means only data that meets the specified conditions is returned.<br />Multi-level conditional filtering is supported, along with "AND" and "OR" operators.</td>
  </tr>
</table>

## Configure Steps

After configuring the trigger type, add different steps to build the flow chart. For details on step configuration, see [Step configuration](/yida/integration/nl4abrm791inlvm2).
