View the State of a Work Request

This topic describes how to view the state of work requests associated with managing sources and migrations.

Note

The Application Migration does not use the common Work Requests API to support work request operations. Instead, Application Migration work requests are supported by the Application Migration API. See Using the Console to View Work Requests for information on viewing work requests for other services.

Many of the Application Migration requests do not take effect immediately. In these cases, the request spawns an asynchronous workflow for fulfillment. To provide visibility for in-progress workflows, the Application Migration creates a work request object. As some operations depend on the completion of other operations, you must monitor each operation’s work request and confirm it has succeeded before proceeding to the next operation. For example, if you want to configure a migration, you first must create a migration. After the operation to create a migration completes, you can configure the migration. You can monitor the work request to create a migration to determine when that workflow is complete, and then configure the migration.

Work Request States

The work request states are:

Accepted
The request is in the work request queue to be processed.
In Progress
The work request is being processed.
Succeeded
The work request has been processed successfully.
Failed
The work request has not been processed successfully. You can look at the work request logs to identify the issues, and then troubleshoot it.
Canceling
The work request is being canceled.
Canceled
The work request has been canceled.

Work Requests Associated with Sources

The following work requests are associated with sources.

  • Create Source: This work request is created when you create a source. When this request is being processed, the source is in the Creating state. Application Migration attempts to connect to the source environment using the information you have provided. If the connection is successful, the status of the source changes to Active and the service fetches the list of applications in the source environment that can be migrated. If the service is unable to connect to the source environment, the status of the Create Source work request changes to Failed and the status of the source changes to Inactive.
  • Update Source: This work request is created when you click Authorize to update the authorization details for a source. Application Migration attempts to connect to the source environment using the information you have provided. When this request is being processed, the source is in the Updating state. When the work request is processed successfully, the state of the source changes to Active. The service fetches the list of applications in the source environment that can be migrated. If the service is unable to connect to the source environment, the status of the work request changes to Failed and the state of the source changes to Active.
  • Delete Source: This work request is created when you delete a source.
  • Change Source Compartment: This work request is created when you move a source into a different compartment within the same tenancy.

Work Requests Associated with Migrations

The following work requests are associated with migrations.

  • Create Migration: This work request is created when you create a migration. When the work request is in the Accepted state, the status of the migration is Creating. When the work request is in the In Progress state, the status of the migration is Discovering. When the work request is executed successfully, the status of the migration changes from Discovering to Missing Config Field.
  • Discover Application: Application Migration connects to the application with the supplied credentials and exports the domain configuration. When this request is processed successfully, the status of the migration changes from Discovering to Missing Config Field.
  • Update Migration: This work request is created when you use the Configure Migration wizard to specify information about the target environment. When this request is processed successfully, the state of the migration changes from Missing Config Field to Ready.
  • Migrate Application: This work request is created when you start the migration. Application Migration migrates the specified application from the source environment to Oracle Cloud Infrastructure. When this work request is completed successfully, the state of the migration changes from Ready to Migration Succeeded. If the migration fails, the status of the migration changes to Migration Failed.
  • Delete Migration: This work request is created when you delete a migration.
  • Change Migration Compartment: This work request is created when you move a migration into a different compartment within the same tenancy.

Required IAM Policy

To use Oracle Cloud Infrastructure, you must be given the required type of access in a policy written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you try to perform an action and get a message that you don’t have permission or are unauthorized, confirm with your administrator the type of access you've been granted and which you should work in.

If you're new to policies, see Getting Started with Policies and Common Policies. If you want to dig deeper into writing policies for Application Migration API resources, see Manage Service Access and Security.

To view work requests

  1. Open the navigation menu. Under Solutions and Platform, click Application Migration.
  2. Choose a compartment you have permission to work in (on the left side of the page). The page updates to display only the resources in that compartment. If you're not sure which compartment to use, contact an administrator. For more information, see Access Control.
  3. Click Sources or Migrations to view a list of source or migrations respectively.
    A list of resources is displayed.
  4. Click the name of the resource for which you want to view work requests.
  5. Under the Resources menu, click Work Requests.
    A list of work requests and their statuses appears.
  6. Click a work request to view log messages and other details about the work request.
  7. Under the Resources menu, click Errors to view error messages, if any.
    You can use this information to troubleshoot issues, if any.