Hide "New" and "Add" buttons on the Child Incidents related list in Service Operations Workspace

Mk_snow
Tera Contributor

Hi,

 

How can I hide the "New" and "Add" buttons from the Child Incidents related list in Service Operations Workspace when the parent Incident is in the Resolved state?

 

I am using Service Operations Workspace and have a Child Incidents related list on the Incident record. When the Incident moves to the Resolved state, I want to prevent users from creating or associating child incidents by hiding the New and Add buttons on the related list.

1000164941.jpg

 

Thanks in advance 🙂

3 REPLIES 3

Gangadhar Ravi
Giga Sage

@Mk_snow Please go to bellow declarative action records and add condition there.

 

Add - sys_declarative_action_assignment.do?sys_id=d1f855a353f510107229ddeeff7b12f8

 

New - /sys_declarative_action_assignment.do?sys_id=fc6a887c53713010ae50ddeeff7b1288

 

Please mark my answer correct and helpful if this works for you.

@Gangadhar Ravi Thanks for responding 

 

i navigated to the url as suggested, not sure how can we add condition here. 

CONDITION: if incident is in resolved state, then hide button

shaiku384545253_0-1781904211582.png

 

@shaiku384545253  You can try something in script condition like parent.state != state_value

 

Please mark my answer correct and helpful if this works for you.