Hello!
I am trying to merge the result of a REST connector call, with the process instance variables of the flow. From all experiments I tried, it seems, that the “Result expression” field, can’t access the process instance variables, or if there is a special way to refer the process instance variables there, then it is not obvious, and is not documented anywhere.
I am using Self Managed architecture, with 8.5.0 version.
This is the json I am initializing the process with. The CustomerFull is the object i try to access from the result expression, and want to merge the result into (later on, after i can access it).
{
“CustomerFull”: {
“CustomerPersonal”: {
“firstName”: “TEST”,
“dob”: “1977-11-27”,
“language”: “ENG”,
“lastName”: “test”,
“email”: “email@email.com”,
“gender”: “M”
},
“CustomerLiab”: {
“liabilityCurrency”: “HUF”,
“liabilityName”: “12345678”,
“overlimit”: “9999999”
},
“name”: “TESTO002”,
“city”: “TESTADDRESS003”,
“street”: “HUHU”,
“media”: “MAIL”,
“shortName”: “Test039”,
“location”: “CIF”,
“nationality”: “HU”,
“fullName”: “Test Test”,
“country”: “HU”
}
}
Attached the bpmn file. In the result expression field I included some of the tried expressions (not all), for accessing the process instance variable, with no result. In the “Request body” field, i have no problem accessing the process variables.
diagram_1.bpmn (5.6 KB)
Thanks for he help and response in advance!
Regards,
David