- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 12:58 AM
Hello,
I want to set asset tag and serial number in Software License [alm_software] table but when quantity is changed to 2 or more, they are removed.
Where is this behavior defined?
I expected it to be related to the UI Policy in the screenshot, but the condition did not apply and changing active to false did not change the behavior.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 09:47 PM
The cause was not the UI Policy, but the ACL.
The OOTB ACL for Asset [alm_asset] is set to allow reads only if the quantity is 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 01:48 AM
Hi @Saeka
What do you mean by Removed? you want to clear the values or you want to hide the field on form? did you mention the UI policy action?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 01:58 AM
@Dr Atul G- LNG
Thank you for your reply.
In OOTB, when I change the quantity to 2 or more and create a record, the value of the entered asset tag and serial number field is cleared and the field itself is also hidden.
The script in OOTB's UI policy "Hide asset tag and serial num" is set to clear the values and the UI policy action is set to hide the fields.
However, changing this UI policy to inactive does not change the phenomenon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 02:21 AM
Hi @Saeka
As per screenshot I can see UI policy in active state, make it inactive , clear cache.do and logout n login to test.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 09:47 PM
The cause was not the UI Policy, but the ACL.
The OOTB ACL for Asset [alm_asset] is set to allow reads only if the quantity is 1.