Skip to content

Pull data from another instance

Use this pipeline when case data lives on another DHIS2 instance. Three steps copy the values you select onto this instance and make them available in analytics.

Shared fields on every step — name, retries, and retry delay — are on Create a pipeline.

  1. Click Add step.
  2. Under Basics, name the step. The name, Max retries, and Retry delay (ms) fields are the same on every step. See Create a pipeline.
  3. Under Handler, select DHIS2 Instance Pull.

Handler list with DHIS2 Instance Pull selected

  1. Under Configuration, select the source instance.
  2. Select the data items to pull. You can choose data elements, program indicators, or indicators. Click Add Item for another item.

Data items to pull, with Add Item

  1. Choose whether to map organisation units by ID or by code, and select the organisation unit level.
  2. Select the periods and the period type.

Period and period type for the pull

  1. Under Advanced Options, set how many periods and organisation units to request at a time.

Advanced options for how many periods and organisation units to request at once

  1. Click Add step.
  1. Click Add step.
  2. Name the step.
  3. Under Handler, select DHIS2 Data Upload.
  4. Under Configuration, select the import strategy.

Import strategy for the data upload

  1. Click Add step.
  1. Click Add step.
  2. Name the step.
  3. Under Handler, select DHIS2 Analytics Run.
  4. Under Configuration, set Last years (for example All) and the polling fields Poll interval (ms) and Max attempts.

Analytics run options and polling interval

  1. Click Add step.

The three steps are listed in that order. Drag a row to change the order.

Steps shows the pull, the upload, and the analytics run, in that order. A later trigger writes the selected values onto this instance.

Run a prediction once the health data and climate covariates are on this instance.