sendCustomEvent
Served by: management
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
input |
SendCustomEventInput! |
Returns
Section titled “Returns”Example
Section titled “Example”Publishes a custom event for an entity id in the mutation’s tenant. The workflow signal router starts or signals every workflow registered for the event’s type and operation. Requires the WRITER role on the tenant.
mutation SendCustomEvent($input: SendCustomEventInput!) { sendCustomEvent(input: $input) { eventCount success transactionID }}Variables
{ "input": { "operation": "create", "payload": { "data": { "key": "value" }, "id": "<random UUID>" }, "type": "brunoExample" }}