I currently want to send an HTTP request to an external service, but I have ‘RecordFields’ type fields from which I would like to retrieve attributes, but I can’t. Do you know what I should do?
Example: Line 3
{
"dni": {
"type": record.values.dni_type.name,
"number": record.values.dni_number,
"verificationDigit": record.values.dni_verification_digit
},
"fullname": record.values.fullname,
"type": record.values.type_client,
"phone": record.values.phone,
"email": record.values.email
}