Hi all,
We love the new JSON functions in architect, but there is one more piece of the puzzle that would make it especially useful. If there is a way to return the raw result from a data action, then in architect we can parse thru arbitrary JSON objects, ie nested arrays which we currently cannot.
So far I tried creating an output template like the below but it always returns the default value zero. How do I return $value back to the success template?
Any help is appreciated!
{
"translationMap": {
"raw_json": "#set( $value = ${rawResult} )"
},
"translationMapDefaults": {
"raw_json": "0"
},
"successTemplate": "{\n "raw_json": ${raw_json}\n}"
}