# Configure workflow triggers

Workflow triggers determine **when** a new workflow instance is started.

In the template the section is called **"Workflow Triggers"**.

### Template triggers: basic fields

1. In the template → section **Workflow Triggers**.
2. **New**.
3. Field **Workflow Event** select (AssistEdit → list "AWF Table Workflow Events").
4. **Active = Yes**.
5. **Priority** set (order when several matching triggers exist).

[![image-1766993429832.png](https://docs.squeeze.one/uploads/images/gallery/2025-12/scaled-1680-/image-1766993429832.png)](https://docs.squeeze.one/uploads/images/gallery/2025-12/image-1766993429832.png)

### Trigger rules: when may a trigger fire?

On the trigger there is a **Rule Group Code**. Via the action **"Show Rules"**:

1. mark the trigger.
2. **Show Rules**.
3. Maintain rules/rule conditions as in [Step rules](https://docs.squeeze.one/link/1352 "Step rules: how does the workflow move to the next step?") .

Important system behavior:

- If **no rule conditions** exist for this trigger rule group, the trigger is considered satisfied (the trigger then fires in principle).

[![image-1766993646446.png](https://docs.squeeze.one/uploads/images/gallery/2025-12/scaled-1680-/image-1766993646446.png)](https://docs.squeeze.one/uploads/images/gallery/2025-12/image-1766993646446.png)

### OnAfterModify: Monitored fields

For the event **OnAfterModify** there is the action **"Monitored Fields"**.

1. Mark the trigger with the workflow event **OnAfterModify** .
2. Action **"Monitored Fields"**.
3. select fields (lookup via "Fields Lookup").

[![image-1766995825420.png](https://docs.squeeze.one/uploads/images/gallery/2025-12/scaled-1680-/image-1766995825420.png)](https://docs.squeeze.one/uploads/images/gallery/2025-12/image-1766995825420.png)

- In the current implementation, an OnAfterModify trigger is **only** started when **at least one monitored field** is maintained **and** this field has actually changed.
- If no monitored fields are maintained, the trigger is not started on OnAfterModify.