You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify what is the correct format of the Correlation key, and what is the exact way to extract info from the request body. (request.body.name)
We already have a documentation but it would be nice to have a placeholder value in the input field, or a link to the doc in the description.
We could also have some additional checks: if the Correlation key(payload) does not start with request -> show error for example
Why should we do it?
It is not obvious for first time users what is the correct keyword (request) to access the body of the request. They might assume it is just body.name or req.body.name instead of request.body.name
The text was updated successfully, but these errors were encountered:
@crobbins215 we discussed this during the architecture session, and what @markfarkas-camunda pointed out is that we don't have a consistent naming so far.
For the Kafka connector the key would be value.myKey for instance, whereas for the Webhook connector it'd be request.myKey.
We discussed possibly using a common term (message, inputData,...) but this is not ideal as the term is tightly coupled to the domain object (Webhook <-> request, Kafka <-> value) and the user would still need to look at the documentation to find inner fields (request.body for instance).
Maybe we should solve this with better documentation + nice tooltips in the modeler?
What should we do?
Clarify what is the correct format of the Correlation key, and what is the exact way to extract info from the request body. (
request.body.name
)We already have a documentation but it would be nice to have a placeholder value in the input field, or a link to the doc in the description.
We could also have some additional checks: if the Correlation key(payload) does not start with request -> show error for example
Why should we do it?
It is not obvious for first time users what is the correct keyword (request) to access the body of the request. They might assume it is just
body.name
orreq.body.name
instead ofrequest.body.name
The text was updated successfully, but these errors were encountered: