How can I get the payload of a message boundary event?

Greetings,
I would like to know if it’s possible to get the values ​​sent in the payload when a request is made for a message boundary event. For example, to trigger the test message boundary event, I use the payload:

{
"name": "Message_1dngc5g",
"correlationKey": 2251799815321487,
"payload":{
"name":"Domingos Dias",
"age": 20
}
}

This triggers the message boundary event. However, I would like to capture the information from the payload of this request, such as the name and age, in the flow. Is this possible? If so, how?


Hi @Domingos_Dias - what API are you calling with that request? I believe the name payload is incorrect and it should be variables. Any variables passed into a message should be merged into the global process variable scope (unless you define specific output mappings). See these pages:

1 Like