Skip to main content

Block response

Workflow blocks return a response when processed, which can be used as input Datasource by other blocks.

The keyword ‘return’ is used in blocks to return the response for use in the next block.

A block with the following code will return the array [1,2,3] in the response.

var arr = [1,2,3];
return arr;
Null values

Please note that following response values will be converted to null value:

  • undefined
  • NaN
  • Infinity
  • '' - empty string