[Uganda Project - Technoforte Team] Informant name missing on Review page when record moves between user roles (mutually exclusive NAME fields) #11745
Unanswered
Abhay-Dev-Gautam
asked this question in
Technical Q&A
Replies: 1 comment 1 reply
-
|
@Abhay-Dev-Gautam you need to creatively use and/or conditionals using helpers such as the event status and the various ActionTypes relevant to the user at a given moment... e.g. in your Registration Officer name field ... For the HEALTH_FACILITY_ADMINISTRATOR who in your case has DECLARE scope, configure like this: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue: Informant name missing on Review page when record moves between user roles (mutually exclusive NAME fields)
Summary
When the Informant/Notifier name is captured using two mutually exclusive NAME fields (one auto-populated based on user role, one manually entered), the name appears correctly for the initial user role but becomes empty on the Review page when the record is accessed by a user with a different role.
This occurs even though the name was previously populated and visible in earlier steps of the workflow.
Context
On the Notifier (Informant) details page, two NAME fields are defined:
informant.nameHEALTH_FACILITY_ADMINISTRATORinformant.autoNameHEALTH_FACILITY_ADMINISTRATORroleThese two fields are mutually exclusive using
ConditionalType.SHOW.Current Behaviour
Behaviour observed across roles
A user with role HEALTH_FACILITY_ADMINISTRATOR:
informant.autoNameA user with role Registration Officer opens the same record:
informant.autoNameis now hidden due to role-based conditionalsinformant.namebecomes visible insteadinformant.namehas no stored valueThe name that was previously captured under
informant.autoNameis not displayed once that field is hidden.Relevant configuration (mutually exclusive NAME fields)
Expected Behaviour
If the Informant name has already been captured (auto-populated or manual):
Why this is a problem
Screenshots
Review page – Health Facility Administrator
Review page – Registration Officer
Environment
<V1.9.7>Beta Was this translation helpful? Give feedback.
All reactions