The Start Trigger object
Information about the start trigger of the workflow.
You can reference the startTrigger
object when a workflow is manually run from the Workflow IDE or triggered with a webhook. startTrigger
is null
when a workflow is configured to use a schedule trigger.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
data
The JSON data.
Type | object |
Format | object |
Configurability | Block editor > Test JSON Parameters |
Default | null |
Examples
{
"number": "2398252"
}
headers
An array of headers used by the start trigger. Included on manual and webhook triggers.
Type | object |
Format | object |
Configurability | Block editor > Test Headers |
Default | null |
Examples
{
"employeeId": "92345324527"}
metadata
Relevant metadata for the item.
Type | array |
Array values | object |
Configurability | Read-only |
Default | null |
pathParams
An array of path parameters used by the start trigger. Included on manual and webhook triggers.
Type | object |
Format | object |
Configurability | Block editor > Test Path Parameters |
Default | null |
Examples
{
"itemID": "12345"}
urlParams
An array of URL parameters used by the start trigger. Included on webhook triggers only.
Type | object |
Format | object |
Configurability | Read-only |
Default | null |
Examples
{
"id": "238j23abse9"}