Automatically generated IDs and Android app

Hi @swoodworth . I don’t see why you couldn´t use that string strictly speaking but, and this is a big but, using CURRENT_DATE(yyyyMMdd) is very likely a bad choice. You can read why in the official doc: Android implementation - DHIS2 Documentation

With your current configuration you will need every user to synchronize every day before they work otherwise all their generated ids will be expired because of using the “day” part.

Let me know if you need further clarification.

2 Likes