How to disable the ability to copy a change or create a template?

Robert Campbell
Tera Guru

We have a problem where people are creating changes by copying an old change.  The problem is the new change has a service that is no longer active.  I believe the same would happen if they were to create a template with an expired service.  Is there a way to either allow copy or insert and stay but not copy any field that uses a cmdb_ci... reference field?

3 REPLIES 3

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Using below link you can disabled copy feature on change all together

https://instance/sys_properties.do?sys_id=e4e9175e9f6331002920bde8132e70c9&sysparm_record_target=sys...

And using below link you can remove CMDB field 🙂

https://instance/sys_properties.do?sys_id=2fbad75e9f6331002920bde8132e70fb&sysparm_record_target=sys...

Please hit like and mark my response as correct if that helps
Regards,
Musab

Mike_R
Kilo Patron
Kilo Patron

You can edit this system property

Mike_R_0-1668186083613.png

 

Sebas Di Loreto
Kilo Sage
Kilo Sage

You should first do (control) what the other responses are suggesting.

If services are changing status often (meaning not "active" anymore) then you could also have an advanced BEFORE INSERT business rule in the change_request table with a condition Service NotEmpty AND Service.status IsNot Installed, then Abort and send a message.

 

Check this example with no code.

 

SebastianDL_0-1668186533902.png

 

SebastianDL_1-1668186553636.png

 

 

 


If I helped you with your case, please click the Thumb Icon and mark as Correct.