Skip to main content

instances_events

Creates, updates, deletes, gets or lists an instances_events resource.

Overview

Nameinstances_events
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
create_by_accountexecworkflow_name, instance_id, event_type, account_idSends 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
event_typestring
instance_idstringThe Workflow instance ID.
workflow_namestringThe Workflow name.

Lifecycle Methods

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
;