How to filter assets displayed in the “Add” dialog under Planned Assets in HAM Workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Hi ,
I am working with the Hardware Disposal Order in ServiceNow HAM Workspace. The table is sn_hamp_hardware_disposal.
On the Disposal Order record, there is a Planned Asset tab with an Add button. When the user clicks Add, the asset selection dialog currently displays all assets.
Our requirement is to restrict the assets displayed in this dialog based on the values selected on the Disposal Order.
The expected filtering criteria are:
Asset Stockroom = Stockroom selected on the Disposal Order AND Asset State = In Stock AND Asset Substate = Pending Disposal
For example, if the user selects Stockroom A on the Disposal Order and clicks Add under Planned Assets, only assets that meet all three conditions should be displayed:
- Stockroom = Stockroom A
- State = In Stock
- Substate = Pending Disposal
The filtering needs to work dynamically based on the Stockroom selected on the Disposal Order.
Since this is happening in HAM Workspace, I am not sure whether the asset selection dialog is controlled by a Reference Qualifier, Workspace configuration, UI Builder component, Data Broker, or some other HAM-specific configuration.
Could someone please advise!!!!