Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

sendCustomEvent

Served by: management

Name Type
input SendCustomEventInput!

SendCustomEventResponse

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"
}
}