Performing the optional tasks for knowledge base import
Before you begin
Make sure you have completed the following steps:
Product | Action |
---|---|
BMC Helix ITSM: Knowledge Management | |
BMC Helix Business Workflows Knowledge Management | In Mid Tier, you have assigned the following IS Personas in the CTM:People form to the user who will run the import utility:
|
To map the custom fields in a knowledge template with BMC Helix Knowledge Management by ComAround
The out-of-the-box knowledge templates and fields in your BMC application are automatically mapped with BMC Helix Knowledge Management by ComAround. If you have custom fields in the out-of-the-box knowledge templates, you must map them manually.
Learn how to map the custom fields.
To modify the query to import knowledge articles
You can modify the default import configurations to specify the articles that you want to import. For example, you can include previously failed articles in import. Also, you can specify the status of the knowledge articles that you want to include or exclude from import. For instance, cancelled and retired knowledge articles from your BMC application are not imported toBMC Helix Knowledge Management by ComAround by default. However, you can modify the default import configurations to include these articles in import.
To modify configurations for BMC Helix ITSM: Knowledge Management
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Processes > Get RKM Articles.
- Modify the type of knowledge articles and previously failed articles that are imported by default.
- On the canvas, click one of the following Get Records By Query elements that you want to modify:
- Get Failed Records By Query
- Get Problem Solution Records By Query
- Get How To Records By Query
- Get KCS records By Query
- Get Known Error records By Query
Get Reference Records By Query
For example, if you want to modify the query to get the How To type of articles, click the Get How To Records By Query element.
- On the
GENERAL tab, in the INPUT MAP section, edit the Query Expression field.
On the Edit Expression dialog box, modify the conditions to import the knowledge articles.
For example, if you want to import the Retired, How To knowledge articles, add ArticleStatusEnglish = "Retired" to the query, as shown in the following image:
- Click OK and click Save.
- On the canvas, click one of the following Get Records By Query elements that you want to modify:
- Repeat the procedure to update the required Get Records By Query elements in the process.
To modify configurations for BMC Helix Business Workflows Knowledge Management
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Processes > Get BWF Articles.
- Modify the type of knowledge articles and previously failed articles that are imported by default.
- On the canvas, click one of the following Get Records By Query elements that you want to modify:
- Get Failed Records By Query
- Get BWF HowTo Records By Query
- Get BWF KCS Records By Query
- Get BWF Reference Records By Query
For example, if you want to modify the query to get the How To type of articles, click the Get BWF HowTo Records By Query element.
- On the
GENERAL tab, in the INPUT MAP section, edit the Query Expression field.
On the Edit Expression dialog box, modify the conditions to import the knowledge articles.
For example, if you want to import the Retired, How To knowledge articles, add ArticleStatus = "6000" to the query, as shown in the following image:
- Click OK and click Save.
- On the canvas, click one of the following Get Records By Query elements that you want to modify:
- Repeat the procedure to update the required Get Records By Query elements in the process.
To map an article status from your BMC application with an article state in BMC Helix Knowledge Management by ComAround
You can map an article status in your BMC application with any existing article state in BMC Helix Knowledge Management by ComAround. By default, only the Retired and Cancelled article statuses are not mapped to any article states in BMC Helix Knowledge Management by ComAround because these articles are excluded from import. If you modify the import query to include retired or cancelled knowledge articles in import, you must map these article statuses with article states of your choice in BMC Helix Knowledge Management by ComAround. Otherwise, the import of these knowledge articles fails. For more information about modifying import configurations, see To modify the query to import knowledge articles.
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Records.
- On the Records tab, select Migration State Mapping and click Edit data.
- On the Data Editor (Migration State Mapping) page, click New.
- On the New Record page, specify the following required fields:
- ComAroundStateValue—Enter the state of knowledge articles after the import from your BMC application to BMC Helix Knowledge Management by ComAround.
- Created By—Enter the name of the user who created this mapping. The default value is the BMC Helix Innovation Studio user name.
- Description—Enter the mapping description.
- SourceKBArticle—Select a source BMC application from which knowledge articles with the selected source status must be imported to BMC Helix Knowledge Management by ComAround.
- SourceStateValue—Enter the status of knowledge articles in your BMC application before the import. During the import process, this status will be mapped to the selected BMC Helix Knowledge Management by ComAround state.
- Status—Select Enabled.
- Click Save.
You can also modify the default state mappings. Instead of creating a new record, open an existing record that defines the state mapping you want to modify, and then make the required changes. For more information about the default state mappings, see How article states are mapped.
To create a custom locale mapping
You can create a custom mapping between a locale in your BMC application and any existing language in BMC Helix Knowledge Management by ComAround.
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Records.
- On the Records tab, select Migration Locale Mapping and click Edit data.
- On the Data Editor (Migration Locale Mapping) page, click New.
- On the New Record page, specify the following required fields:
ComAroundLocaleValue—Enter a language code for a BMC Helix Knowledge Management by ComAround translation language into which articles must be imported from your BMC application (for example, en-US).
- Description—Enter the mapping description.
- Created By—Enter the name of the user who created this mapping. The default value is the BMC Helix Innovation Studio user name.
- SourceLocaleValue—Enter the language name for a locale in your BMC application from which articles must be imported into the selected BMC Helix Knowledge Management by ComAround translation language.
- SourceKBAArticle—Select a source BMC application from which localized articles must be imported to BMC Helix Knowledge Management by ComAround.
- Status—Select Enabled.
- Click Save.
To modify the multithreading configurations for the knowledge base import
The import tool uses the multithreading approach to deliver a top-level performance when it imports knowledge bases from BMC applications to BMC Helix Knowledge Management by ComAround. The tool imports multiple knowledge articles in parallel by using a separate thread for each article instead of copying articles in a consecutive order.
If you are sure that you want to define custom multithreading configurations, you can modify the default settings.
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Records.
- On the Records tab, select Migration Config Common Settings Properties and click Edit data.
On the Data Editor (Migration Config Common Settings Properties) page, open a record that contains the multithreading configurations you want to modify as represented by the property name:
PropertyName
Definition
threadPoolMin
Minimum number of threads that the import tool runs in parallel
threadPoolMax
Maximum number of threads that the import tool runs in parallel
keepAliveTime
Time in seconds to import a single article from your BMC application to BMC Helix Knowledge Management by ComAround
- Specify the following required fields:
- Created by—Enter the name of the user who created this mapping. The default value is the BMC Helix Innovation Studio user name.
- Description—Enter the record description.
- Status—Select the status of the record.
- Source—Select a BMC application from which knowledge articles are imported to BMC Helix Knowledge Management by ComAround by using the defined multithreading configurations.
- PropertyName— Do not change the name of the property defined in the record.
PropertyValue—Modify the value of the selected property.
PropertyName
ProperyValue
threadPoolMin
Enter the minimum number of threads that the import tool will run in parallel. The default value is 100.
threadPoolMax
Enter the maximum number of threads that the import tool will run in parallel. The default value is 100.
Important: The threadPoolMin and threadPoolMax values must be the same.
Example: There are 1000 knowledge articles that must be imported from BMC Helix ITSM: Knowledge Management to BMC Helix Knowledge Management by ComAround. If the threadPoolMax value is set to 100, the import tool will import 100 articles in parallel. After this import is completed, the next set of 100 articles will be pushed from the queue of the thread pool into the threads. The process will remain the same, regardless of the number of articles to be imported. You do not have to increase the threadPoolMax value if the number of articles is larger; for example, 5000.
keepAliveTime
Enter the time in seconds to import a single article from your BMC application to BMC Helix Knowledge Management by ComAround. The default value is 600.
If the article hasn't been fully imported before this time elapses, it will be completed with the Timeout error, and the system will create an error log. For information about working with logs, see Troubleshooting.Important: During subsequent imports, the sync tool will detect these articles and try to reimport them.
- Click Save.
To modify the number of articles to be imported into subfolders
To improve the import performance, the import tool automatically generates subfolders for each folder created in BMC Helix Knowledge Management by ComAround and imports knowledge articles directly into them. The number of articles that can be imported into one subfolder is limited to 100 articles per folder by default.
If you are sure that you want to change the number of articles to be imported, you can modify the default settings.
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Records.
- On the Records tab, select Migration Config Common Settings Properties and click Edit data.
- On the Data Editor (Migration Config Common Settings Properties) page, open the record that has the PropertyName set to NumberOfChildsFolders.
- On the Edit Record page, specify the following required fields:
- Created by—Enter the name of the user who created this mapping. The default value is the BMC Helix Innovation Studio user name.
- Description—Enter the record description.
- Status—Select the status of the record.
- Assignee—Enter the assignee name.
- PropertyName—Do not change the name of the property.
- PropertyValue—Enter the number of articles to be imported per folder. The default value is 100.
- Click Save.
If you want to start a fresh import process after importing articles to BMC Helix Knowledge Management by ComAround folders, you must clear the application cache.
- Log in to BMC Helix Innovation Studio.
- On the Workspace tab, select Knowledge Sync > Records.
- On the Records tab, select Migration Config Common Settings Properties and click Edit data.
- On the Data Editor (Migration Config Common Settings Properties) page, open the record that has the PropertyName set to ClearSubFoldersCache.
- On The Edit Record page, Set the PropertyValue to true.
- Click Save.
You can now start the import process again. After the import is done, ClearSubFoldersCache is automatically set to false.
Where to go from here