#rest #connectors #json #payload

Get a business variable in the REST POST Payload

Hi,

I have a business variable called person, which is a complex variable with the properties name and birthDate.

I want to get the value of this variables in the payload of a rest connector to send a request to my rest API

I'm trying this way, but it's thorws a error when call the getName()
{
"name": ${person.getName()},
"birthDate": ${person.getBirthDate()}
}

Screenshot of my POST Request configs
https://prnt.sc/qlfb3k

Notifications