Notifications are triggering to Child Knowledge Articles even after condition is applied only for Parent Knowledge ArticlesIssue Notifications are triggering to Child Knowledge Articles even after condition is applied only for Parent Knowledge ArticlesResolutionWe ran your script in the background and added 'gs.log' to the if/else conditions to see what is happening. See below - var articleCheckout = new GlideRecord('kb_knowledge'); articleCheckout.addEncodedQuery('parentISEMPTY^active=true^kb_knowledge_base=06b1cc7bdb84bc946f21dd0968961990^NQparentISEMPTY^active=true^kb_knowledge_base=3c20ccbfdb44bc946f21dd09689619766'); articleCheckout.query(); gs.info(articleCheckout.getRowCount()); if (articleCheckout.next()) { answer = true; gs.log("Return True"); } else { answer = false; gs.log("Return False"); } When we run this script, it will always return 'True' for the xxx records that are shown in the encoded query. The reason for this is you are checking if the encoded query is true for each of the selected records, which of course, is true. In your script, you are not passing any KB Article number and this is why your implementation is failing. Our recommendation is to review your script and write code that passes KB Article numbers and this should work. This is considered a customization.