Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Response is a result of workflow blocksWorkflow blocks return a response when processed, which can be used as input datasource Datasource by other blocks.

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

var arr = ;
Expand
titleThe example of JS-code A block with no response
Code Block
the following code will return the array [1,2,3]
Expand
titleThe example of JS-code block with array in responsein the response.
Code Block
var arr = [1,2,3];
return arr;
Note

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

  • undefined

  • NaN

  • Infinity

  • '' - empty string

...