Deduplication template doesn't correctly picking up the deduplication task.

SIVASANKARIS
Tera Guru

Hi community,

 

I am having 1000+ deduplication tasks which is not remediated yet,

So I created a deduplication template, in that template , there is a condition section which is referring this "Condition to filter CIs from the template class. Only the de-duplication tasks containing CIs that match the filter will be assigned to the template."

 

here i am configuring the filter like CIs with company =sony, which is having deduplication tasks that needs to be selected., So, In that filter I applied condition like company.name is 'sony' or company is 'sony',  but it is not working it selecting the ci with different company name deduplication tasks,

SIVASANKARIS_0-1768297922870.png

 

Can someone help me with this .. 

2 REPLIES 2

vaishali231
Tera Guru


Hi @SIVASANKARIS 

 

This behavior is actually expected, even though the wording in the Deduplication Template UI makes it a bit confusing.

A few key points that helped clarify this for me:

1. How the template filter really works
The “Condition to filter CIs from the template class” is evaluated at the CI level, not at the deduplication task level.
If a deduplication task contains multiple CIs and at least one CI matches the filter, the entire task gets assigned to the template.

So if a task contains:

CI 1 – Company = Sony

CI 2 – Company = some other company

The task will still be picked up because one CI satisfies the condition. This is by design.

2. Dot-walking on Company is unreliable here
Using conditions like Company > Name is Sony does not consistently work in deduplication templates. The filter engine does not reliably honor dot-walked conditions in this context.

The safer and supported approach is:

Company is Sony (using the reference field, selected via the lookup, not typed as text)

3. Template class matters
The filter only applies to the Template Class (for example, Windows Server).
If a deduplication task contains CIs from multiple classes, only the CIs belonging to the template class are evaluated for the condition.

4. Existing tasks are not reprocessed automatically
Templates do not retroactively update already-created deduplication tasks.
To see changes take effect, the tasks need to be re-evaluated or the deduplication process needs to be re-run.

*************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.

Regards
Vaishali Singh

Hi @vaishali231 ,

some tasks has 2 or more CIs, but none of these CIs having company is sony, could you help me on this kind of scenarios