Change Management ITSM Requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2024 07:55 AM - edited ‎05-25-2024 07:57 AM
Hello Experts,
I want to display the Affected CI Related List based on the location selected on the Change Form.
For example, if the location is 815 E Street, San Diego, CA, only the CIs related to that location should be visible when I click the Add button in the related list. I have attached a screenshot of the Add button for your reference. Please guide me. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2024 08:54 AM
Hi @Mark Wood ,
You would need to modify the OOTB UI Action responsible to add the CI.
Link to the UI Action-
Also you need to modify the OOTB Script Include-
Make the necessary changes in the UI so that the filter to get the CIs based on location works only for change_request
If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!
Thanks & Regards,
Sanjay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2024 10:13 AM
Hello @Community Alums
I believe it's not best practice to alter out-of-the-box functionality. Do you have any alternative solutions that can meet my requirements without modifying the default features?
Thanks,
Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2024 03:02 PM
Hi @Mark Wood ,
That's true its not best practice to modify the OOTB, but here you have to modify the OOTB UI action to exclude the default logic for change request.
Then we would need to create similar UI action only for change request and call the custom script include similar to the OOTB.
In this way we can do the same.
One approach I see is to create a dynamic filter and use it in the UI action script.
Thanks,
Sanjay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2024 12:03 AM
The link you shared solved my problem.