The field was updated, but the value was not pushed into the field.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I am trying to push a value into a field using a background script. After running the script, it shows that the field was modified, but the value is not updated in the field. Could you please review the code and let me know the solution?
it's showing KB updated successfully
it's showing KB updated successfully
var gr = new GlideRecord('kb_knowledge');
if (gr.get('KBarticle sys_id')) {
gr.setWorkflow(false);
gr.setValue('taxonomy_topic', 'value sys_id ');
gr.update();
gs.info('KB updated successfully');
}
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
HI @bhanukota09 ,
If your intention is to make a knowledge article available under a specific topic, you can use the Assigned Topics related list on the article form and add the required topic there — the Taxonomy Topic field will then be auto-populated automatically.Refer below screen shot.
If you find this useful, please mark it as Helpful or Accept it as the Solution.
Regards,
Harish
