Nodes - Parameter Map

This document describes a parametermap flow-node and provides a parametermap flow-node example.

Name

Description

parametermap

Non-functional flow-node which returns all parameters passed in as a response. Allows setting arbitrary values directly into the flow context.

Example

This is an example of the parametermap flow-node. It takes model.id as the parameter data, and the static value 201 as the parameter status. These are then echoed back. data is set in the context as locaton and status is set as status.

"response.success": {
 "type": "parametermap",
 "config": {},
 "parameters": [
   {
     "name": "data",
     "value": "$.model.id"
   },
   {
     "name": "status",
     "default": 201
   }
 ],
 "response": {
   "context": {
     "$.data": "location",
     "$.status": "status"
   },
   "routes": [
     {
       "next": null
     }
   ]
 }
}

Related Links