instances_events
Creates, updates, deletes, gets or lists an instances_events resource.
Overview
| Name | instances_events |
| Type | Resource |
| Id | cloudflare.workflows.instances_events |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_by_account | exec | workflow_name, instance_id, event_type, account_id | Sends an event to a running workflow instance to trigger state transitions. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
event_type | string | |
instance_id | string | The Workflow instance ID. |
workflow_name | string | The Workflow name. |
Lifecycle Methods
- create_by_account
Sends an event to a running workflow instance to trigger state transitions.
EXEC cloudflare.workflows.instances_events.create_by_account
@workflow_name='{{ workflow_name }}' --required,
@instance_id='{{ instance_id }}' --required,
@event_type='{{ event_type }}' --required,
@account_id='{{ account_id }}' --required
;