TriggerTrigger types
Metadata events
Current change modes
| Mode | Use |
|---|---|
| Any change | Reprocess after a field changes |
| Empty to nonempty | Act after information is first filled |
| Nonempty to empty | Act after information is cleared |
| When conditions are met | Use conditions supported by the current form |
Configure
- Choose 【Resource Metadata Event】 and a change mode.
- Select the metadata fields in 【Field Range】.
- Choose the file path and inspect subfolder, file-type, and filename filters.
- Inspect delayed execution if repeated changes to one resource should be coalesced.
- Select the workflow name and version, check the input contract, and save.
- Use a mock resource to verify both matching and nonmatching changes.
Example
Run a review-preparation workflow when Category changes from empty to nonempty. Create the Category metadata field first.
Avoid loops
If the workflow writes a watched field, check whether that write satisfies the trigger again. Narrow the field scope, record before and after values, and design state transitions that can be checked repeatedly.
Resource events
Resource events react to file creation or deletion under a specified path. The current page provides separate tabs for files added to a path and files deleted from a path.
Webhook
Webhook accepts HTTP requests from an external system and maps their parameters to workflow inputs. Define the call contract before distributing the endpoint.