How to remove incident from Change request related list when the incident is cancelled

shaa066
Tera Contributor

we have two related lists in Change request, Incidents caused by change and incidents remediated by change so if a incident is linked to a change record and is linked to any one of these related list, so when the incident state is cancelled, it should be removed from that change, the link should be removed.

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@shaa066 

it should be removed means you should empty the field in INC which refers the CHG.

Now which field to remove you can determine based on how the related list is shown

Determine the correct field and then have before update BR on incident state is cancelled and clear that CHG field

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

Swapna Abburi
Mega Sage
Mega Sage

Hi @shaa066 

Those two related lists are showing data as change request is referenced in one of these two fields in the Incident. 

You may need to write a custom business rule to blank these fields when Incident state is cancelled.

SwapnaAbburi_0-1740408715955.png

 

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @shaa066 

 

OOTB there is no way and if I say don't do this, you need to create BR for this and check the condition to apply. Or remove it manually.

*************************************************************************************************************
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]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@shaa066 

it should be removed means you should empty the field in INC which refers the CHG.

Now which field to remove you can determine based on how the related list is shown

Determine the correct field and then have before update BR on incident state is cancelled and clear that CHG field

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Swapna Abburi
Mega Sage
Mega Sage

Hi @shaa066 

Those two related lists are showing data as change request is referenced in one of these two fields in the Incident. 

You may need to write a custom business rule to blank these fields when Incident state is cancelled.

SwapnaAbburi_0-1740408715955.png