Task 4: Migrating the services and verifying their migration status
The following image shows the process of migrating services:
Support for flexible fields
Use the additional Flex Fields available in the my-sb:ServiceRequest form to store extra information. You can map flexible fields to use this information within workflows or outside the application for reporting purposes, configuring service level agreements, and so on.
For the service request entry, 20 flexible fields are available with the BMC Helix Digital Workplace Catalog with the following data types:
Field type | Count |
---|---|
Character fields with a total character limit of 500 | 12 |
Integer fields | 2 |
Date fields | 2 |
Time fields | 2 |
Date/time fields | 2 |
For the workflow examples, see Examples of workflows for mapping flexible fields.
Verification of the migrated SRDs and questionnaires
After migration, you can verify the migrated SRDs, workflows, and questionnaires in the following ways:
- SRDs—View the migration status in the SRD Migration utility manager, and view or export the logs. To learn more, see To verify the migration of SRDs.
- Questionnaires—View the questionnaire migration status report on the Questions Designer page in BMC Helix Digital Workplace Catalog. To learn more, see To verify the migrated questionnaires.
- Workflows—View the migrated workflows in BMC Helix Digital Workplace Catalog. To learn more, see To verify the migrated workflows.
To migrate the services
- Open the SRD Migration utility manager.
To migrate the services, on the Service Request Definition tab, select the checkbox next to the services that you want to migrate.
If a service was modified and imported or migrated earlier, it is indicated in the Last Migrated On column, as shown in the following image:
- Click Migrate to migrate the services that you imported.
The following image shows an example of importing the Windows Password Reset service:
The service and its artifacts are first imported and then migrated in the following sequence:
- The service itself (service profile), if the service was not imported earlier.
- If the service was previously imported, a new revision of the service is created. The previously imported service is not overwritten.
- A single workflow that is associated with the service.
- Questionnaire associated with the service.
You have migrated the services and the associated workflows and questionnaires from BMC Service Request Management to BMC Helix Digital Workplace Catalog.
To verify the migration of SRDs
- Open the SRD Migration utility manager.
- To verify the migration, on the Service Request Definition tab, view the Last migration status column.
- To view more details about the migration status, in the Actions column, click View Details
.
The following table describes the migration statuses:
Status | Description | Example | Migration details of the SRD |
---|---|---|---|
Not migrated | SRD is imported, but not migrated. | Not available unless SRD is migrated | |
Completed | SRDs are successfully migrated. | ||
Completed with Warnings | The SRD is migrated but needs a manual review and might need updates to the migrated workflow. | ||
Failed | Migration failed because it contained one or more unsupported SRDs, such as the AIF or Quick launch types. | ||
Error | Migration encountered errors because of configuration issues or utility-related issues. |
To learn more about the failed or errored SRDs, view the migration logs.
To verify the migrated questionnaires
- As an administrator, log in to BMC Helix Digital Workplace Catalog.
- Select Services > Services.
- On the My Services tab, a list of the migrated SRDs is displayed.
- Select the checkbox next to the migrated services for which you want to verify the questionnaire.
- Select Actions > Open.
- Click Edit next to Workflow.
- On the Workflow and Questions panel, click Edit next to Questions.
Verify the questions in the questionnaire.
If a failed qualification is encountered, on the Questions Designer page, a hidden question called Questionnaire Migration Issue Report is added that contains details of the failure, as shown in the following image:
If there is no failed qualification, the hidden question is not displayed.- (Optional) For the Dropdown(single select) type of questions, verify that question values are mapped to the appropriate forms in BMC Helix ITSM. (During an import, the question values of Dropdown(single select) type of questions were mapped to data sets).
- Based on the Questionnaire Migration Issue Report, modify the questions that you want to rectify.
After verifying the questionnaire associated with the migrated service, verify the migrated workflows.
To verify the migrated workflows
The workflows are migrated in the disabled state.
After migration, each embedded PDT is a standalone process and is not associated with questionnaires and services. Only the top-level PDT (parent process) is associated with the questionnaires and services.
- As an administrator, log in to BMC Helix Digital Workplace Catalog.
- Select Services > Services.
On the My Services tab, a list of the migrated SRDs is displayed. - Select the checkbox next to the migrated services for which you want to verify the workflow.
- Select Actions > Open.
- To view the service workflow, on the Service Options pane, click Edit next to Workflow.
- On the Workflow and Questions pane, click Edit next to Workflow, as shown in the following image:
- Verify the workflow.
To learn about the migrated workflows, see Examples-of-migrated-workflows-with-PDT-and-AOT.
You have reviewed the workflow associated with the migrated service.
To enable the workflow associated with the SRD
The workflows are migrated in the disabled state. After verifying them, you must enable them so that they are applied at runtime.
- As an administrator, log in to BMC Helix Digital Workplace Catalog.
- Select Services > Services.
On the My Services tab, a list of the migrated SRDs is displayed. - Select the checkbox next to the migrated services for which you want to verify the questionnaire.
- Select Actions > Open.
- On the Service Options pane, click Edit next to Workflow.
- On the Workflow and Questions pane, click Edit next to Workflow.
- On the GENERAL tab
, turn on the Enabled toggle key, as shown in the following image:
- Click Save.
(Optional) To map the flexible fields for migrated services
To populate and edit the flexible fields in a workflow, map them manually by performing the following steps:
- Log in to BMC Helix Digital Workplace Catalog console and open the workflow designer.
- Open a migrated workflow or create a new workflow.
- Populate the flexible fields in the workflow and map them by using either of the following actions:
Use the Set Entry action to get flexible fields for service requests.
Use the Update Record action to update flexible fields for service requests.
(Optional) Access the records from the BMC Helix Innovation Suite to verify the assigned values.
(Optional) To disable workflow update during remigration
If you are remigrating an SRD, you can choose not to update its associated workflow to improve the migration utility performance. By default, the workflow is migrated with each re-migration.
- Open the SRD Migration utility manager.
- Click Settings
.
- Click Configuring Settings.
- Select the Disable Process Update toggle, as shown in the following image:
- Click Save.
To view logs for failed migration of SRDs
You can troubleshoot a failed or errored migration of SRDs by viewing logs.
- Open the SRD Migration utility manager.
- To view the migration logs, on the Service Request Definition tab, in the Actions column, click View Details
next to the service for which you want to view logs.
- On the Migration Details panel, in the Actions column, click View Logs
.
- (Optional) To export the logs in CSV format, click Export.
The following image is an example of the logs for an errored service migration:
Troubleshooting
Refer to the following table to resolve common issues related to failed migration of SRDs:
Issue | Cause of the issue | Steps for resolution |
---|---|---|
An SRD is not migrated and displays the following error even if the SRD passed the precheck step. | In BMC Service Request Management > Question Management, a conditional question has an invalid value. | In BMC Service Request Management > Question Management, replace the invalid value with a valid value. |
The following error is generated when you click Migrate: Error (38) An error occurred while invoking the custom action. The database cannot be updated. Selection for Import in process definition com.bmc.dsom.seal.srd-migration:Import SRDs. | Occurs when one of more input parameters in the process action to import SRDs is null. | Make sure that the web API connection to BMC Helix Digital Workplace Catalog is mapped correctly. For more information, see Task-1-Getting-the-migration-utility. |
Where to go from here
After migrating the services and verifying the workflows and questionnaires associated with the services, you proceed with publishing the services. For more information, see Task-5-Viewing-and-publishing-the-migrated-services.