Skip to main content

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 TypeDescription
MANUALUsed when users trigger a process manually, typically using the "Run Process" button or a similar user interface action.
SCHEDULEDUsed when the process is triggered by a schedule, such as cron jobs or interval-based timing.
API_MAPPINGUsed when the process is invoked via an API mapping, typically configured as part of the system’s API.
WEBHOOKUsed when the process is invoked via a webhook, which is an API mapping triggered by an external HTTP request.
APIUsed when the process is invoked directly via the executions endpoint of the system’s API.
SUB_PROCESSUsed when the process is triggered as a sub-process within another process, enabling the creation of complex workflows.