How to Restrict the closing of SCTASK (for specific task) from the RITM related list.

Chiranjeevi K
Tera Expert

Hi All,

 

I have requirement to restrict the closing of the SCTASK from the RITM related list and it should pop-up the error message to fill up the mandatory fields on the SCTASK variables.
Please help with the right approach , thanks in the advance !!

ChiranjeeviK_0-1690271964682.png

 

2 ACCEPTED SOLUTIONS

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Chiranjeevi K 

Greetings!

this can be done via before business rule and use abort action message to pop up the error message.

refer the below thread where it is explained:

https://www.servicenow.com/community/developer-forum/making-field-s-mandatory-when-changing-sc-task-...

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Kind Regards,

Ravi Chandra.

View solution in original post

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Chiranjeevi K 

Greetings!

Any feedback on my reply? were you able to do this?

Please mark the answer as correct solution and helpful based on Impact.

 

Kind Regards,

Ravi Chanda.

View solution in original post

3 REPLIES 3

Joe B2
Giga Guru

I believe you should be able to create a field specific list_edit ACL for this.

 

Point it at the sc_task table and the state field and set it so only admin can perform this function. This should prevent the editing of that field from lists but have no effect on the form view.

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Chiranjeevi K 

Greetings!

this can be done via before business rule and use abort action message to pop up the error message.

refer the below thread where it is explained:

https://www.servicenow.com/community/developer-forum/making-field-s-mandatory-when-changing-sc-task-...

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Kind Regards,

Ravi Chandra.

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Chiranjeevi K 

Greetings!

Any feedback on my reply? were you able to do this?

Please mark the answer as correct solution and helpful based on Impact.

 

Kind Regards,

Ravi Chanda.