Process Trigger Type
The triggerType
enum defines the various ways a process can be triggered. This categorization allows the system to
handle and track processes based on their initiation method. Below are the trigger types supported by the enum, along
with their descriptions and use cases.
Trigger Types
Trigger Type | Description |
---|---|
MANUAL | Used when users trigger a process manually, typically using the "Run Process" button or a similar user interface action. |
SCHEDULED | Used when the process is triggered by a schedule, such as cron jobs or interval-based timing. |
API_MAPPING | Used when the process is invoked via an API mapping, typically configured as part of the system’s API. |
WEBHOOK | Used when the process is invoked via a webhook, which is an API mapping triggered by an external HTTP request. |
API | Used when the process is invoked directly via the executions endpoint of the system’s API. |
SUB_PROCESS | Used when the process is triggered as a sub-process within another process, enabling the creation of complex workflows. |