Incidents ticket implements “Affected Service” field and it's linked to “Enterprise Services” CIs.
So, i'm tryinmg to use the same field to mapping other class/families CIs without a new custom field.
This is issue when using “Affected Service” field to mapping other CIs:- By Schema Designer this field using a “cr.affected_service::check_family()” trigger, to ensure input “Enterprise Services” CIs values.
The idea is dont use a new custom field.
So,-- how can manage this field/trigger to let specify another class/family CIs in “Affected Service” field? or,-- how can do to modify this function or replace it to another new, to let specify another class or familt CIs?
Eduardo I guess you could do the following:
1 - Disable the cr.affected_service::check_family() trigger over designer;
2 - Add the following to the <PDM_MACRO attr="affected_service" ADDITIONAL_WHERE="class.type='******'">
Haven't tried this myself, but I've seen some discussion on other forums about disabling the trigger.
Hope this helps,
Great EricoDellaVallePrezzi76043714, now ...to disabling this trigger is enoght edititng \bopcfg\majic\cm.maj file comment line refered to this trigger and restarts SDM service?
Guys, any suggests about how to removing or disabling this trigger?
First never modify any magic in bopcfg directly.
do it trough shema designer as suggested or create your own mod in site/mods/magic with a modify statement.
Another safe way us to overwrite an existing function is by creating a spl file with the function been declared there and return nothing like:
or write your own code completely may you have any specific needs
as the site/mod is read last this will overwritte the existing. (will require a recycle)
Hope this help.
Please remember that CA don't support such customization and may require rework for upgrade
Thank you jmayer