Need to add the filter condition for on the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 04:51 AM
Hi All,
I need to add the filter condition for one of the field that is referring to alm_hardware table.
Filter conditions: If the requested for belong to any one of the stockroom group, model category is computer and model is not Virtual or requested for belong to any one of these two groups HCL-ITSM-PROCESS-ASSET and HARDWAREASSET-MGM-SHARED and along with this I need add model category is computer and model is not Virtual.
I tried with the below reference qual
javascript: (gs.getUser().isMemberOf('HCL-ITSM-PROCESS-ASSET') || gs.getUser().isMemberOf('HARDWAREASSET-MGM-SHARED')) ? "" : "stockroom.u_active=true^stockroom.assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744^model!=307716f5db30605042e8d2e3ca9619ce^model_category=81feb9c137101000deeabfc8bcbe5dc4^install_status=6";
The above one is working for the requested for is belong to the any one of the stockroom group,model category is computer and model is not Virtual and requested for belong to any one of these two groups HCL-ITSM-PROCESS-ASSET and HARDWAREASSET-MGM-SHARED and along with this I need add model category is computer and model is not Virtual, I need to implement is condition.
Please any one help me,
Thanks in advance,
Vinuth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 06:05 AM
Don't you already have it?
model!=307716f5db30605042e8d2e3ca9619ce^model_category=81feb9c137101000deeabfc8bcbe5dc4
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader