How to disable the ability to copy a change or create a template?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 08:56 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 09:01 AM
Hello,
Using below link you can disabled copy feature on change all together
And using below link you can remove CMDB field 🙂
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 09:09 AM
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.
If I helped you with your case, please click the Thumb Icon and mark as Correct.