UI Policies does not work as intended
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 10:10 PM
Dear Community,
In one of my record producer I have created multiple UI policies based upon certain selections.
Whenever the values are changed the fields that should not display still are visible. And I have also selected Reverse if False for all the UI policies.
Please find below Use Case:
1. If Value for varaible: Is this contract for one of the following business sectors or for an Enabling Function? is HealthCare then varaible "Does the activity relate to medical devices?" is made to be visible.
Now if the value in variable: Does the activity relate to medical devices? is No then variable "Does the vendor / activity require qualification by Merck's Quality Departments (e.g. RDQ, HCQ)?" should be visible .
Now when I changed the value in the first variable "Is this contract for one of the following business sectors or for an Enabling Function?" to Something else the varaible ""Does the vendor / activity require qualification by Merck's Quality Departments (e.g. RDQ, HCQ)?" is still visible.
How do I make the selections right ?
Thanks,
Hritik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 11:01 PM
Hi @Hritik ,
One thing to consider is we are not using same field of the UI Policy action in the multiple UI Policies,
Instead use the same UI Policy with OR conditions and use the singly UI Policy action.
Can you share your all IF Else field so that I can try in my instance.
Regards,
Najmuddin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 11:58 PM - edited 09-29-2024 11:58 PM
Hi,
Try to make a UI policy specially for clearing value of fields when the value of "Is this contract for one of the following business sectors or for an Enabling Function?" IS NOT (HealthCare) -> Then Clear value of "Does the activity relate to medical devices?".
Reverse if false i there only for the logic to reverse but not making variables empty. Thats why the fields keep showing.
Kind Regards,
Collin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 12:20 AM
There were lot of Ui policies which were interdependant on each other.
I used script and use clearValue functions at several points to keep the design of form un-distorted.