- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 07:37 AM
Hi All,
I want to hide few business services BE Bigdata APC, BE Bigdata PQE, Big Data, BE Bigdata BI&AI&Dashboard at Incident creation. How to achieve this using client scripts or ui policies.?
Thanks in advance
Nikhitha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2025 09:22 PM
Hello @nikhithanik
If you observe carefully your reference qualifier has some mistake it should be as below:
//your code
javascript:'u_type='+current.u_business_service_type+'^u_active='+true+'sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");
//correct code
javascript:'u_type='+current.u_business_service_type+'^u_active=true^sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 12:15 AM
Hi @nikhithanik
You can use Business service dictionary override.
1. Go to Dictionary Override
2. Select the field (Business service) and table (incident)
3. Check the Override Reference Qualifier Check box.
4. Add the necessary filter condition.
Note: The picture above is from PDI. It may differ in your customer instance. Before modifying the reference qualifier, please validate the existing configuration
Hope this helps.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 12:26 AM
Hi Siva,
Thanks for you reply
I have tried with the reference qualifier but it is restricting other business services as well. Please do let me know if you find the solution.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 01:29 AM
Hello @nikhithanik
See the Business Service field on incident form is reference field which already has reference qualifier applied so you can either append existing script call and get the exclusion of Business Service as per your requirement.
Another way is concatenate with extra condition to existing reference qualifier.
Below is something which is tried on PDI:
1) In PDI just for testing I created 3 Business Service as per your requirement.
2) Now I created a system property where I put the sys_id of all records which we need to exclude.
3) Now the last step of configuration, we open the reference field by right click -> Configure Dictionary then scroll to bottom as the record open is of parent table i.e task we want to do override so go to related list named "Dictionary Overrides" there check for entry with table named as incident open it, now configure as showcase in below image.
4) Now after doing all this configuration, we will head back to our incident creation form refresh it so our configuration will work. Once we click Magnifying glass icon, we can see that this service is no longer present in list of record displayed to us. I tried to put extra filter when new window popup comes in to see if really my code worked and yes it worked you can see same in below image.
Note - Why system property is used so we can append as many sys_id we want, and it is easily configurable when any changes are required.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2025 10:15 AM