User bio
404 bio not found
Member since Mar 29, 2016
Replies:

Because I wish to add to the sources in an existing domain (without dropping data), I experimented with $System.iKnow.IndexTable(). 

The first time, the new sources were added to the existing domain successfully. But, when I tried to add additional sources a second time, I got errors. Does anyone know why this only worked the first time? No sources were added to the domain on the second attempt. Thank you!

 

do $SYSTEM.iKnow.IndexTable("V10132","XXXXX.NotesAndDemog","DOCNUM","sta3n","notetext",$lb("patientname","patientXXX","sta3n","tiustandardtitle","tiudocdeftype","servicesection","referencedate"),"patientXXX=40","XXXXXCFG")

zw %objlasterror
%objlasterror="0 "_[1m$lb([22m[1m$lb([22m5001,"WARNING: some sources were not processed successfully, call Loader.GetFailed() for details",,,,,,,,[1m$lb([22m,"VISTA",[1m$lb([22m"e^zCheckErrors+16^%iKnow.Source.Loader.1^1","d^zProcessBatch+138^%iKnow.Source.Loader.1^1","e^zIndexTable+53^%SYSTEM.iKnow.1^1","d^testindextbl+2^testindextbl^1","d^^^0"[1m)[22m[1m)[22m[1m)[22m[1m)[22m/* ERROR #5001: WARNING: some sources were not processed successfully, call Loader.GetFailed() for details */

 

do $system.iKnow.ListErrors("V10132")

Error report for domain 'V10132':
No errors

The following sources failed to load in this domain:
11/03/2016 12:31:31: ERROR #8089: Source with external ID already exists: (external ID: :SQL:500:1, location: %iKnow.Source.Temp.Processor:ProcessListElement)
11/03/2016 12:31:31: ERROR #8089: Source with external ID already exists: (external ID: :SQL:500:3, location: %iKnow.Source.Temp.Processor:ProcessListElement)
11/03/2016 12:31:31: ERROR #8089: Source with external ID already exists: (external ID: :SQL:500:4, location: %iKnow.Source.Temp.Processor:ProcessListElement)
11/03/2016 12:31:31: ERROR #8089: Source with external ID already exists: (external ID: :SQL:500:5, location: %iKnow.Source.Temp.Processor:ProcessListElement)
11/03/2016 12:31:31: ERROR #8089: Source with external ID already exists: (external ID: :SQL:500:6, location: %iKnow.Source.Temp.Processor:ProcessListElement)

No warnings

Certifications & Credly badges:
Terri has no Certifications & Credly badges yet.
Global Masters badges:
Terri has no Global Masters badges yet.
Followers:
Terri has no followers yet.
Following:
Terri has not followed anybody yet.