Hi everyone,
We’re using DHIS2 2.42 and have noticed an issue with our programme rules in the Capture app.
We have several Tracker programmes with rules that automatically generate a unique client identifier (UIC) by combining values from other tracked entity attributes in the registration form.
Previously, the UIC would populate as soon as all the relevant fields were completed, before saving the client. However, since upgrading to 2.42 and moving to the new Capture app, the UIC only generates after the client has been saved.
The rules are still working and generating the correct UIC, just not until after saving. All the fields involved are tracked entity attributes in the registration form.
This is causing an issue because we previously had the UIC set as mandatory. We’ve now had to remove that requirement, as otherwise users can’t save the client without a UIC, but the UIC won’t generate until they’ve saved the client!
Has anyone else experienced this? Is it a known issue with Capture 2.42, and is there a way to get the UIC to populate before saving again?
Thanks in advance for any help!