Pass execution variable directly into the payload for http-connector

How Can I pass execution variable directly into the payload for http-connector. Please assist

{
“variables”:
{
“process”: {“value”: “test”, “type”: “string”},
“TransactionIdValue”: {“value”: “${execution.getVariable(“transactionId”)}”, “type”: “string”}

}

}

Hi,

if your payload should be a template which contains some process variables you could use a freemarker template.

The SOAP Example on GitHub shows how a freemarker template is used as payload. The freemarker template uses two process variables city and country.

Cheers,
Sebastian