Dispatchers Service
Example use case
Create your first dispatcher
await exh.dispatchers.create({
eventType: 'my-event-type',
name: 'my-unique-dispatcher-name',
description: 'A Dispatcher that handles my-event-type',
actions: [
{
type: 'task',
name: 'my-unique-action-name'
description: 'An Action that handles my-event-type',
functionName: 'my-function-name',
data: {
customStringField: 'myStringHere',
customNumberField: 42
},
startTimestamp: new Date(),
tags: [
'tag1',
'tag2'
]
}
],
tags: [
'tag1',
'tag2'
]
});
List Dispatchers
Update a Dispatcher
Dispatcher Properties
eventType
name
description
actions
tags
Last updated