- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 03:45 AM
I am trying to import knowledge articles from excel sheet which are in published state. When I import through transform map or direct import method, the articles are imported in to "Draft" state. Any different approach or idea in order to import published articles. Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2016 10:14 PM
There is an OOB Business rule which will set the state to "Draft" during insertion.
Please un check Run Business rule check box in your transform map and load the data.
Thanks,
Madan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 05:21 AM
Hi Minabindu,
have wrote any script in transform map while updating the State ? If not just try to do with script. and also try to put logs to track errors or warning if you are gettign any. And also check is there any business rule in Knowledge table making default state values as default. And let me know if you are getting any errors or warnings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2016 10:14 PM
There is an OOB Business rule which will set the state to "Draft" during insertion.
Please un check Run Business rule check box in your transform map and load the data.
Thanks,
Madan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2017 06:38 AM
You can add a field map on the Target Field "Workflow";
In my case, articles had to published if they belonged to a certain category:
answer = (function transformEntry(source) {
// Add your code here
if (source.u_category == "website" || source.u_category == "solution"){
return "published"; // return the value to be put into the target field
}
})(source);
In case you have a system with multiple UI langauges, specify the langage field or your articles will not be searchable.
Principal Platform Architect, Customer Success, ServiceNow