Injecting Process Variables into REST POST

Hi,

I'm trying to send a REST POST from Bonita with a Connectors out. It works with static data. But I need to send data from my current running processInstance (which is fireing the connector) within the body of the REST. 

Bonita only says "Variables can be injected using '${}' tags, press 'Cntrl + Space' to access the content assist'" 

But I can't make it work with that explanation.

My Data Object is called Feature and my variables are title and description

So I tried it with something that looks like that:

body{
       "title": ${feature.titel},
       "description": ${feature.description}
}

Can anyone please tell me, how I can inject process variables into the body of REST POST?

Hello,

You are using a REST CONNECTOR, correct?

You should click on Switch Editor, then on the pencil )> then Script.

Build your JSON in JAVA.