I am using the newest version of the Zeebe HTTP worker to invoke existing endpoints. We do not control these endpoints so have to deal with the complex structure of data returned.
The Zeebe HTTP worker puts the response of service in a variable called “body”. I am attempting to define a mapping which will take the response from variable “body” and output this into a new variable as follows:
- source: body, target:someComplexResponseModel
- source: target:someComplexResponseModel.map.data.map , target: simplierResponseModel
With these definitions, I get the following incident:
No data found for query target:someComplexResponseModel.map.data.map.
Even though the JSON returned from the service does conform to the structure above.
A couple of questions:
- Could someone please help me understand what is going on here? I am using a two step process to clarify intent.
- After these mappings have been performed, I am still expected to see the content of “body” in the workflow instance variable stack? Specifically, if this instance of “body” was used as output mapping, should I still be expect to see the exact value in the variable stack?