XML Data sources using relative XPATH with conditions can impact instance performance and ignore some recordsDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } .spanColor { color: #646464; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; <span id="CmCaReT"></span>padding-left: 1em; } li { padding-left: 1em; } --> XML Data sources using relative XPATH with conditions can impact instance performance and ignore some records Problem Long XML files imported by a data source with XML format are unable to import some records when the XPATH field has been set with the following format: //path[condition] For example, //kb_knowledge[kb_knowledge_base='<sys_id>'] or //incident[number='INC0010007'] Steps to Reproduce Run a data source of type XML. For more information, see the documentation topic Create a data source. Set the XPATH to a relative path with a condition. For example, set XPATH for each row to //incident[number='INC0010007'] Click Load all records. Note that the records are not loaded and a a message appears on the data source: Relative XPATH expression is not recommended and can impact instance performance Cause The XML data source import uses the XMLStreamDocument function, which in specific cases is not able to handle relative path with conditions, and returns null. Also, the use of a relative path involves extra overhead on the function. Resolution To avoid both the search missing the date and to avoid performance issues on evaluating relative paths, use absolute paths, for example, /unload/incident[number='INC0010007'].