Make it filed Non
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 05:35 AM
Hi,
I have an Checkbox filed called "Required_Action" in sc_req_item form. The filed gets read-only(noneditable) after tickets gets closed.
Now, I want to make it field Editable irrespective of state, If logged InUser is part of the ritm assignment group. I want to achieve this by using beforeQuery business rule. Can you please help me on this with the script?
Thanks In Advance!!
Bandila Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 05:45 AM
Hi Rajesh,
You can t achieve this using Before Query BR. Recommended approach would be Field level ACL or if Client side then UI Policy/Client Script.
Query BR might work if you want to hide the entire row (record) based on some condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 06:52 AM
Thanks @Anurag Tripathi
As better practice, I have decided to go with the ACL. Could you please provide the required script here? It will be more helpful.
Thanks
Bandila Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 08:17 AM
So assuming that the check box is on RITM table
ACL would be
Use your field name
In the script use below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 10:35 AM
Thanks @Anurag Tripathi
I have tried the code and it's not working as expected. Could you please assist me to move further? Find the attached screenshot for your reference.
Thanks,
Bandila Rajesh