How can the download of Tracker program events be limited?

We are currently implementing DHIS2-RTS in the Comoros and require the following behaviour in the Capture Android app for the DHIS2-RTS (Tracker program):

  • for any specific OU, all TEIs (about 150) must be downloaded, even if there never has been any Tracker event for them or the last event took place months or years ago

  • the number of Events should be limited (as past Tracker events are not visible to the user, in principle no events need to be downloaded as long as the stock on hand from the last transaction with a Program rule, which could have been years ago, is available)

  • the in-app offline Line Listing needs to be limited to about the last 30 days, is the analytics in any way affected by limits on TEI or event downloads?

I understand that only events from Event programs can be limited. If events from Tracker Programs cannot be limited, eventually there will be tens of thousands of events which are downloaded to the mobile device which will lead to excessive synchronisation times (for example when changing users and having to synchronise all data) and slow down the application.

1 Like

Hi @George_McGuire

I think these options are available in the Android Settings web app which you can download from the App Management app. For example,


In the field “Maximum Event downloads” I can choose to download only a specific number of events per TEI.

Please let me know if you’ve checked the other ones and I will double check too. Thanks!

Hi Gassim. Thanks for your help. The DHIS2 documentation clearly states that limiting events is only available for Event programs but not for Tracker programs:

“The Android App will limit the number of Event to download only for the event programs (and not tracker programs) according to the field.”

image

1 Like