How to remove "Add" button in the Related list once the change request is approved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 06:16 AM
Hello Guys,
I want to remove the 'Add' button in the Affected list once the change request is approved. but for me this button is displayed in the New State only, Can anyone please me with this?
Regards,
Padma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2024 10:11 AM
In this case you need to update the condition on this add button.
Here you add condition
change.state!New --> Sytnax need to update
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 10:47 PM
Added the above condition in condition yet it isn't working out
Also, added my condition ''current.state == -4 && current.state == -3 '' in the condition yet the button isn't showing up in the assess & authorize state.
Add button should be come up in New, Assess, Authorize
kindly help me with it
kindly help me with it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 09:00 AM
Hi @gPadmavathi_04 ,
Use parent instead current and also check other condition i.e ChangeProposed(parent)).canAddCI() and also make sure this wouldn't affect options on the incident/Problem
i.e gs.getProperty('com.snc.task.associate_ci').indexOf(parent.sys_class_name) > -1
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 08:29 AM - edited 01-29-2024 08:30 AM
Seems the condition / state value come in single quotes. I am not a dev so can't help much.
@Sandeep Rajput @Hemanth M1 can you provide your expertise here.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************