Start a Conversation

Unsolved

This post is more than 5 years old

740

October 8th, 2011 03:00

ICF_Criteria "matches" operation or how to check if event match notification list by criterias from ICF_Criteria class

Hello All.

My main task is to check if event is matches one of notification lists.

I have a question about how to work with ICF_Criteria class. As u can see, current class has operations "matches" for compare objects with criteria

Operations for class ICF_Criteria:

    clone_name

    matches


Properties of ICF_Criteria::ICF-Criteria-ICS_NL-Actual-0:

    CreationClassName = ICF_Criteria

          Description =

          DisplayName =

                 Name = ICF-Criteria-ICS_NL-Actual-0

               PartOf = { }

          ServiceName =

             criteria = {

{

   EventName

   ~Disabled|DiscoveryError|Duplicate

}

{

   InstanceDisplayName

   ~*128.*

}

{

   ElementClassName

   ~Host

}

}

        full_criteria = {

}

         isaCriterion = ICIM_Notification

As i understand In isaCriterion attribute we should to set object Type or Object creation class name.

If i try to invoke matches operation for object of class ICIM_UnitaryComputerSystem or ICIM_ManagedElement is work fine, but if i invoke matches operation for object of class ICIM_Notification i get next error:

SVIF-EREMOTE-CI-E-EGENERIC-At ICF_Policy.c:3432  argument 1 should be of type

  .     ICIM_ManagedElement: Number and types of arguments in call to

    operation

  .     don't match its signature

  .  MR-WRONG_OPERATION_ARGS-Number and types of arguments in call to

    operation

  .     don't match its signature

So a question is:

How to use this class for compare event object (ICIM_Notification) fields?

May be is other ways to compare if event is matches ICS_Notification list?

May be possible to update one of UserDefined fields with Notification list value from DXA?

Message was edited by: Hemulll

No Responses!
No Events found!

Top