Skip to content

Commit 2864c44

Browse files
Create script.js
1 parent c9a28e3 commit 2864c44

File tree

1 file changed

+8
-0
lines changed
  • Server-Side Components/Background Scripts/Update KB Article Author

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
var kbGr = new GlideRecord("kb_knowledge");
2+
kbGr.addEncodedQuery("author=62826bf03710200044e0bfc8bcbe5df1"); //Update this filter as required
3+
kbGr.query();
4+
while(kbGr.next())
5+
{
6+
kbGr.author = '6816f79cc0a8016401c5a33be04be441'; //Update with new Author details
7+
kbGr.update();
8+
}

0 commit comments

Comments
 (0)