...
Option 1: Find Script on Internet | Option 2: Write a script ourselves using Drupal Migration Code | Option 3: Write a script ourselves using direct database calls | Option 4: Hand migrate | |||||
---|---|---|---|---|---|---|---|---|
Description | In this option, we have tried a related option that is available on the internet and takes the idea if someone already did migration in order to investigate. | In this option, We have to study internal architecture how the workflow, rule modules module functional in the Drupal 8 sites, and based on those inputs we need to create a custom module that will migrate the data from drupal 7 to drupal 8. | Similar to the option 2, but using direct database calls instead of writing php code to perform the migrations. | In this option, We have to migrate workflow rules from Drupal 8 administrator by taking the reference which we had on the Drupal 7 site. We will also need to hand migrate the historical Access and Publishing Requests that are contained within the current system. This would be done through the UI interface by replicating the original not by copy the data through the database. | ||||
Workflow Rules | Workflow included 12 states and rule is having 14 configurational settings | Workflow included 12 states and rule is having 14 configurational settings | Workflow included 12 states and rule is having 14 configurational settings | Workflow included 12 states and rule is having 14 configurational settings | ||||
Pros |
|
|
| |||||
Cons |
|
|
|
| ||||
Data |
|
|
|
| ||||
Pros |
|
| ||||||
Cons |
|
| ||||||
Notes | On the basis of research on the internet, there is no direct way available to migrate workflow and rules directly from Drupal 7 to Drupal 8. Result: Failed, I have tried to migrate workflow and rules data through the brush but the process is not supported to migrate the data from D7 to D8. Useful Link: https://www.drupal.org/docs/upgrading-drupal/upgrade-using-drush 2: Tried to import workflow state by adding code and followed steps mentioned here in this link https://www.drupal.org/docs/upgrading-drupal/upgrade-using-drush But there is not success found with that. Result: Failed, As node was not imported to the D8. 3: In order to migrate rule from D7 to D8, I have used a few modules with providing missing functionality in Drupal 8. Here is the list of those modules.
Result: Failed 4: I have tried to apply the patch which is having on Drupal community Result: Failed | On the basis of the POC on this approach, the D7 and D8 database scheme has been changed significantly. In drupal 7, workflow module with a separate table w.r.t their functionality module. whereas in Drupal 8, it will use a common table except for workflow history and transition. | On the basis of the research that we can make the workflow settings manually which included state and transition and we will import the history by using a script that will get the data from the Drupal 7 site. |
...