Skip to content

Instantly share code, notes, and snippets.

@cmcdevitt
Created March 16, 2022 15:20
Show Gist options
  • Select an option

  • Save cmcdevitt/0078846bd41cdf87f391957ae0d9023f to your computer and use it in GitHub Desktop.

Select an option

Save cmcdevitt/0078846bd41cdf87f391957ae0d9023f to your computer and use it in GitHub Desktop.
Change the Source Id on the Discovered Items table
di_sys = '';
var di = new GlideRecord('sn_sec_cmn_src_ci');
di.get(di_sys);
di.setValue('source_id', di.source_id + 'junk');
di.update();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment