Data policies override
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2017 06:37 AM
Hi,
I am trying to set up data policies on cmdb(or cmdb_ci) level and use the inherit mechanism.
However on cmdb_ci_computer and extends I need a slightly different policy because of virtual.
There is a (hidden) field on data policy "overrides" but it does not seem to work. The data policy on cmdb level is still enforced even though I set a data policy on cmdb_ci_computer that overrides the one on cmdb.
[I want serial_number to be mandatory if status has a certain value, in the entire cmdb except for on computer and extends, where it should be mandatory if not Virtual]
Does anyone have an idea? Should it be possible to use this hidden "override" field on data policies?
The mandatory checkbox on dictionary is not an option as it is only enforced if the field is actually on a form.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 08:11 AM
No override at all. If you have setup a condition and checked reverse if false on the child table. The field may be put back to mandatory or reverse it.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 08:24 AM
Still does not work for me.
I noticed the fields are marked mandatory on load as well, even though virtual = true. Only if i switch virtual states. the mandatory marking is removed, but still error on save.
I still have the feeling something is not quite right. Perhaps some order of execution issue or simular. (How is the system supposed to know that it should run the policy on cmdb before the one on computer? )
One would expect this is where the ''override'' field comes in, but I cannot get it to work.
You help is much appreciated Alikutty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 09:23 AM
Can you try removing the virtual condition and keep both the data policies as same and see if it works.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 12:11 AM
Hi Alikutty,
I removed the conditions but now it is not working at all. Only the policy on cmdb seems to work.
So ''override'' field does not do anything(it seems).
Order of execution of data policies could explain why it works for you but not for me. That is the only thing I can think of.
What version are you on? I am on Helsinki.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 02:43 AM