Expand my Community achievements bar.

SOLVED

Workflow Restructuring in 6.5

Avatar

Level 1

Hi,

 

We are upgrading AEM 6.3 to 6.5. We have workflows that we need to restructure.

We followed below link :

https://docs.adobe.com/content/help/en/experience-manager-65/deploying/restructuring/all-repository-...

 

However, we noticed that the runtime workflow models get picked up from "/var/workflow/models" instead of "/conf/global/settings/workflow/models".

 

Also, while moving the launchers to the new location: /conf/global/settings/workflow/launchers, we found that it saves the workflow model as "/var/workflow/models/My_Model".

 

So, do we now need to check-in workflow models in code for both var and conf folders?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

For Models, you just need to move the "/conf/global/settings" directory and then you can open the same workflow and click on SYNC at the top left to have it created under "/var"

 

Detailed instructions are already provided in the documentation:

 

Any new or modified Workflow Models must be migrated to /conf/global/workflow/models.
  1. Deploy the modified Workflow Models into a local AEM 6.4 development instance, such that they exist in the Previous location(/etc/workflow/models).
  2. Edit the Workflow Model using AEM's Workflow Model Editor at AEM > Tools > Workflow > Models.
  3. When migrating modified AEM-provided Workflow Models
    1. With the Workflow Model Editor open, modify the browser's address URL, and replace the path segment /libs/settings/workflow/models with /etc/workflow/models.
      • For example, change: http://localhost:4502/editor.html /libs/settings/workflow/models /dam/update_asset.html to http://localhost:4502/editor.html /etc/workflow/models /dam/update_asset.html
  4. Enable Edit mode in the Workflow Model Editor which will copy the Workflow Model definition to /conf/global/workflow/models.
  5. Tap the Sync button to sync the changes to the Runtime Workflow Model under /var/workflow/models.
  6. Export both the Workflow Model (/conf/global/workflow/models/<workflow-model>) and Runtime Workflow Model (/var/workflow/models/<workflow-model>) and integrate into the AEM project.
    1. For example, export:
      • /config/settings/workflow/models/dam/my_workflow_model and
      • /var/workflow/models/dam/my_workflow_model

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

For Models, you just need to move the "/conf/global/settings" directory and then you can open the same workflow and click on SYNC at the top left to have it created under "/var"

 

Detailed instructions are already provided in the documentation:

 

Any new or modified Workflow Models must be migrated to /conf/global/workflow/models.
  1. Deploy the modified Workflow Models into a local AEM 6.4 development instance, such that they exist in the Previous location(/etc/workflow/models).
  2. Edit the Workflow Model using AEM's Workflow Model Editor at AEM > Tools > Workflow > Models.
  3. When migrating modified AEM-provided Workflow Models
    1. With the Workflow Model Editor open, modify the browser's address URL, and replace the path segment /libs/settings/workflow/models with /etc/workflow/models.
      • For example, change: http://localhost:4502/editor.html /libs/settings/workflow/models /dam/update_asset.html to http://localhost:4502/editor.html /etc/workflow/models /dam/update_asset.html
  4. Enable Edit mode in the Workflow Model Editor which will copy the Workflow Model definition to /conf/global/workflow/models.
  5. Tap the Sync button to sync the changes to the Runtime Workflow Model under /var/workflow/models.
  6. Export both the Workflow Model (/conf/global/workflow/models/<workflow-model>) and Runtime Workflow Model (/var/workflow/models/<workflow-model>) and integrate into the AEM project.
    1. For example, export:
      • /config/settings/workflow/models/dam/my_workflow_model and
      • /var/workflow/models/dam/my_workflow_model