In the DataMiner IDP CI Type Manager I have created a CI Type and added 3 conditions. I want to define the following: condition 1 should always be met. Or condition 2 or condition 3 should be met.
So the possible matches are:
1 + 2
1 + 3
I defined the Conditions field like below = 1 and 2 or 3.
Is this correct or will this also match if only condition 3 is met?
If not, how should I define the Conditions field?
Hi Stijn,
For IDP discovery, we follow the boolean algebra for the order of operations so the priority is (from highest to lowest) NOT then AND and finally OR.
As you currently have it will consider a valid match if condition 1 and 2 are simultaneous true or if condition 3 is true regardless of the rest.
We currently do not support parentheses so in order to achieve your desired condition you would need to write something like
1 and 2 or 1 and 3
Just one minor clarification, although condition 1 appears more than once it will not poll the data multiple times.
IDP will only poll the conditions that are needed and temporarily cache the result in case it is needed later.
This also means that if in the example above 1 and 2 return true there is no need to check condition 3 and as such it will not be polled.