- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 05:54 AM
Hi,
Could anyone help me with a solution to that issue?
In Change Request related list I created a new record on Problems table.
On that record, I set Category to Software
Then Change Request state will be changed to Closed.
After changing CR state to Closed, I want to see Category field readonly.
I created BR (on display) and UI Policy but it doesn't work
UI Policy script
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 06:50 AM
You want to make Problem's Category field as read only, then you can write UI Policy on Problem table.
After that try applying conditions in "when to apply" as"
Category -- is -- Software AND
Parent.State -- is -- Closed
(If Parent.State doesn't work then check for "Change request" field and instead of Parent.state, check with Change request.State -- is -- Closed)
You can have UI action: Category as read only.
Give it a try & let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 06:18 AM
Hi,
Have you tried with dot walking in UI policy condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 06:35 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 06:47 AM
Hi Miro,
Have UI policy on Problem table and in condition select dot walking like.
first select
Show Related fields => Change request =>Change request fields => state is closed
then in ui policy action add action for that field for read-only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2020 07:28 AM
now it works
thanks