Skip to main content
POST
/
execution
/
{id}
/
messageSubscriptions
/
{messageName}
/
trigger
Trigger Message Event Subscription
curl --request POST \
  --url http://{host}:{port}/{contextPath}/execution/{id}/messageSubscriptions/{messageName}/trigger \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "variables": {
    "aVariable": {
      "value": true,
      "type": "Boolean"
    },
    "anotherVariable": {
      "value": 42,
      "type": "Integer"
    }
  }
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the execution to submit the message to.

messageName
string
required

The name of the message that the addressed subscription corresponds to.

Body

application/json
variables
object | null

A JSON object containing variable key-value pairs. Each key is a variable name and each value a JSON variable value object.

Response

Request successful. This method returns no content.