incident management related

AnilJ
Tera Contributor

If the incident state is 'In Progress', then make the assignment group and assignee fields mandatory in both the list view and the form in Incident table i.e in the list view state field can not be updated without providing assignment group and assigned to.

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AnilJ 

 

In list view until a user click on that record to update the logic will not work. You can write oncell edit script and in that you need to check

- Is Assignment group is not empty

- Is assigned to is member of assignment group 

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

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

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

To apply this to the list view as well, you can create a data policy (and apply it as ui policy as well). You can't update a record in the list if the data policy makes fields mandatory.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AnilJ 

 

In list view until a user click on that record to update the logic will not work. You can write oncell edit script and in that you need to check

- Is Assignment group is not empty

- Is assigned to is member of assignment group 

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

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