Send a message to a durable execution
Changed onSends a named message to a running execution, as POST /durable-functions/{functionId}/executions/{executionId}/messages does for an application. The workflow receives it from ctx.waitForMessage with the same name; until then it is kept, and waits take messages oldest first.
Project access tokens can send messages, but read-only ones cannot. A message never decides an approval.
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
Path parameters
Project ID
Durable function ID, or its name within the project
Durable execution ID
Headers
Makes a send safe to retry. A repeat with a key the same sender has used on the execution returns the first message and sends nothing. Keys of different senders never collide. Up to 255 printable ASCII characters.
Request body
The name a workflow waits on or publishes under: up to 237 printable ASCII characters.
Response
A message with this Idempotency-Key was already sent; it is returned
A message sent to, or published by, a durable execution.
in is a message sent to the execution. out is one the execution published.
Orders the execution's messages in both directions. It increases with every message but can skip numbers. Pass the last one you read as after to read what came next.
Who sent the message.
An in message is queued until a wait for its name takes it, delivering while it is handed over, and delivered once the execution has it. It is dropped if the execution ended before any wait took it. Every out message is published.
When the execution received the message. Null until then, and for out messages.
Changes
- breaking
added the pattern
^[ -~]+$to theheaderrequest parameterIdempotency-Key
- breaking
- info
endpoint added
- info