Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

What is usage of _queryMatch(cmdbci3, rule, sourceField) in CI Lookup Rules and how _queryMatch work

Sangeetha6
Tera Expert

Hi Team,

I am trying to understand CI lookup rules, could you please help on the following,
What is usage of _queryMatch(cmdbci3, rule, sourceField) in CI Lookup Rules and how _queryMatch work?

 

Regards,
Sangeetha

1 REPLY 1

Salma Laskar
Tera Expert

Hello Sangeetha,

 

The _queryMatch function returns "the first CI record found" when multiple CIs match - it does NOT apply any intelligent filtering for operational status, discovery dates, or creation dates by default.

 

Refer on community : Solved: Information on _queryMatch - ServiceNow Community