- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2019 09:16 AM
Hi All,
I am trying to create a ATF to create HR Knowledge Article. However I am unable to select Knowledge Base as a field itself when I have selected Set Field Values Operation for Table kb_knowledge.
It does not come in the list of fields and hence, I am unable to populate Knowledge base and the script fails.
Please advise.
Thanks,
Vish
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 09:24 AM
I had this same problem. To solve it I had to run this as a background script.
It corrected it;
var gr = new GlideRecord('sys_atf_step');
gr.get('f1a43c15db0123008096a455ca961915');
var fields = gr.inputs.field_values.toString();
gs.info(fields);
fields = fields.replace('^EQ','^kb_knowledge_base=dfc19531bf2021003f07e2c1ac0739ab^EQ');
gs.info(fields);
gr.inputs.field_values = fields;
gr.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 01:25 PM
Hi Shreya,
I am using London release and I do not see the knowledge base field in ATF when Knowledge Base table is selected. I had checked this with many colleagues of mine and it seems to be a generic issue.
Are you using Madrid Release? Can you provide the screenshot if possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2019 05:34 AM
Hey Shreya,
Your info worked in Madrid.
Thanks!
