- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 10:34 PM
Hi Community,
In Asset management workspace, once the state is "In stock", stockroom field becomes mandatory.
However, I have checked that table, UI Policies, client script does not seem to have a logic where stockroom field is made mandatory. Any ideas where and what the setting could be?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 11:31 PM
Hi @jnt-cnt
In alm_asset table there's one UI policy called "Show Stockroom which has UI policy script configured to make the "Stockroom" field mandatory.
Please check that UI policy.
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 11:31 PM
Hi @jnt-cnt
In alm_asset table there's one UI policy called "Show Stockroom which has UI policy script configured to make the "Stockroom" field mandatory.
Please check that UI policy.
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 12:44 PM
Hi @jnt-cnt ,
The UI Policy with the sys_id 5b56d1b13783100044e0bfc8bcbe5d9d
is responsible for making the Stockroom field mandatory when the state is set to "In Stock." You can verify this by logging into your instance and navigating to the UI Policy using the following steps:
- Replace the instance name in the URL with your instance name (e.g.,
https://<your_instance>.service-now.com
). - Access the UI Policy directly using the sys_id:
https://<your_instance>.service-now.com/sys_ui_policy.do?sys_id=5b56d1b13783100044e0bfc8bcbe5d9d
- Review the conditions and actions defined in the UI Policy to confirm its behavior.
If you believe the solution provided has adequately addressed your query, could you please **mark it as 'Helpful'** and **'Accept it as a Solution'**? This will help other community members who might have the same question find the answer more easily.
Thank you for your consideration.
Selva Arun