Access data table name in Workflow/ loop over data tables

Dear OD users,
I would like to process several similar datasets with the same workflow to calculate basic statistics. The result should be saved in one table for further processing. Therefore it would be nice to

  1. loop over the list of datasets and/or
  2. access a unique label of the dataset (eg. the data table name) as a tag in a new column

What would be the best approach to do something like this?

You could create a workflow that uses a ONE DATA type key to retrieve the list of data tables via the server’s own API (connect to http://localhost:8080/api/v1/data and execute a GET request according to Use Flexible REST API and XML / JSON Parsing v1.2 processors. You can then use again Flexible REST API to invoke another workflow via ONE DATA’s API that calculates your statistics per data table that is of interest.

The respective API calls can also be intercepted while using OD. Relevant pages are the data table overview page of a project ( to see how data tables can be listed and the API calls that are triggered by Save & Run in a workflow.

1 Like

thanks, stefan! i will give this a try.