Cmmn Http Task Requestbody Construct Json Issue

Hi Team,

I am new to Flowable. Using version 6.5.0

Currently, I am testing Httptask in both process and case model.

Like for example:

bodyExpression=“123”

<flowable:field name=“requestBody”>
flowable:expression</flowable:expression>
</flowable:field>

In process(bpnm):

I can see the value “123” on the backend (spring boot);

In case model (cmmn)

Found ${bodyExpression}

exception:
Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unrecognized token ‘': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token '’: was expecting (JSON String, Number, Array, Object or token ‘null’, ‘true’ or ‘false’)

I couldn’t find a way to create dynamic json to put as request body in case model.

Any input on this will be appreciated.

Not sure I’m following yet. How are you creating the body in BPMN? Could you paste your CMMN xml for the http task?