using UI Policy check field Mandatory, but sometimes it seems didn' t work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2019 11:44 AM
hi experts,
I have a requirement , when both of the following conditions are met, it need to check some fields Mandatory. All of those fields Mandatory check is before clicking update button.
1. states=closed;
2.when u_wi_update = 1-7, checking related fields
i want to use UI Policy to achieve it.
, but it always have some check errors.
for example, when i choose "1:xxxxxx", it check 4 fields Mandatory, it hasn't error , but if i change to "3:xxxxxx" , it just check 1 fields.
i don't know why . could anyone give some advise? thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 01:58 AM
do one thing, you have to identify here which ui policy is creating an issue.
Deactivate two UI policy and set active one ui policy and test the first ui policy condition is working fine or not, then activate other one and test both UI policy condition and see if that is working or not, so one test 3rd one .
see which one is giving you an issue here.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 02:26 AM
I made UI Policy which u_wi_update = "1:xxx" || "2:xxx" is true, other two is false. firstly I choose u_wi_update = "1:xxx", and make states= closed, it check 4 fields, but if I change states =open, now it not meet the condition, but it still check those 4 fields, changing u_wi_update from "1:xxx" to "3:xxx" still check. so, that's where it went wrong.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 02:30 AM
just confirming , reverse if false has set as true ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 09:18 PM
yes , it is true. yesterday, I achieved it by using Client Script, just writing many codes. it's better to use UI Policy if it is possible.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2019 10:32 PM
Glad you solved it.
this is bit strange . it should work with UI Policy as well.
did you try to make other ui policy as true and rest of two are active false ? other one is also creating an issue ?
have you written any script in UI Policy ?
i am assuming here there is not other ui policy which try hide the mandatory fields?