Restrict choices of a field to be visible on a child.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 10:46 PM
Hi experts,
I have a requirement where we have a field say Type on a cmdb_ci table. This field is meant to have different choices for different classes. FOr example, for class cmdb_ci_server it has 3 choices-
1. Server 1
2. Server 2
3. Server 3
Class cmdb_Ci_linux_server should have choices
1. Linux server 1
2. Linux server 2
which works fine, as Linux has defined its own choices on Type field the choices from the parent - cmdb_ci_server will not be available.
But now, for the class cmdb_ci_aix_Server, there are no choices needed as per requirement, but the choices from the cmdb_Ci_linux_server are inherited as Linux is the parent for AIX server.
The option of - Configure choices works well on choices inherited from Task to Incidents but when I tried it in above scenario, it does not work.
Is it possible to restrict this inheritance of choices for particular classes in any other way?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2022 02:14 AM
Try Dependent value in choice table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2022 09:26 PM
Hi Jaya,
Thanks for reply.
As Class (sys_class_name) is a special field we cannot use Class as a dependent field.
Regards,
Medha