Snow API to avoid duplicates

Hi, you can check previous issues with servicenow in the forum:

In this thread, there is a JSON response with a records field that contains an array of entries. So json input codec and split filter are used to get the information of each entry.

Maybe you can work on something similar for your case, although your response seems XML instead of JSON.

On the other hand, your configuration of

action=>update
document_id => "%{number}"
doc_as_upsert =>true

will update the existing document if a new one is indexed with the same number

  • New fields (not present in the existing document) will be added to the same document;
  • Existing fields will have their values updated with the latest ones.