not be able to resolve the incident if change record mentioned in change request field is not closed

namratapati
Tera Contributor

user should not be able to resolve the incident if change record mentioned in change request field is not closed.

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @namratapati 

 

https://www.servicenow.com/community/developer-forum/user-should-not-resolve-incident-if-change-reco...

usiness Rule (BR) should be on the Incident table.

Before Update:

  • Condition should be:
    • Change is not empty
    • Change.state is Closed
    • State changes to Resolved

You don't need to enable the advanced options.

In Actions, select Abort Action and provide the message you want to display.

 

AGLearnNGrow_0-1736063577159.png

 

 

 

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

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

Anand Kumar P
Giga Patron

Hi @namratapati ,

Check for before insert business rule restricting user should not be able to resolve the incident if change record mentioned in change request field is not closed.

https://www.servicenow.com/community/itsm-forum/prevent-incident-from-getting-closed-until-the-assoc...

 

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand

SN_Learn
Kilo Patron
Kilo Patron

@namratapati ,

 

Create a new Business rule on [incident] table:

 

Before update with the below conditions:

SN_Learn_2-1736066454409.png

 

 

Then under the 'action' tab, select the 'abort action' and 'add message'(modify the message as per your requirement)

SN_Learn_1-1736066343668.png

 

This could also be achieved via Script but OOB no code way is suggested.

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Ankur Bawiskar
Tera Patron
Tera Patron

@namratapati 

it should be an easy requirement with before update BR on incident.

What did you start with and where are you stuck?

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