Difference between Generate row and Get Variables plugin

What is difference between Generate Rows plugin and Get Variables plugin when we are defining fields for runtime parameters?


Both the plugins- ‘Generate Rows’ and ‘Get Variables’ can be used to read variables and convert them to fields in the stream. Both the plugins can be used as the first step of workflow but only ‘Get Variables’ plugin can be used in the middle in the workflow. ‘Get Variables’ step can return rows or add values to input rows.