Question

Retrieving parameters input by user across multiple workspaces

  • 6 April 2020
  • 1 reply
  • 3 views

I have multiple workspaces that are run in succession to process a job task. I need to collate some of the parameters that the user inputs into one file - csv or text doc, for QA and checking purposes. Is there a way to achieve this?


1 reply

Userlevel 2
Badge +17

Hi @pebble,

In each workspace, add a Creator transformer, then send its output to a ParameterFetcher to get the input parameters. Next, connect to a TimeStamper.

Add a CSV writer to write to a common CSV, then create an output feature type with attributes defined for all the parameters for all the workspaces in the sequence, as well as a timestamp. Set the output feature type parameter 'Overwrite Existing File' to No.

Connect the TimeStamper output to the output CSV feature type.

When the workspaces are run, they will update the CSV file with a new row with the time and all user parameters for the run.

Reply