How can you copy workflow models from one environments to another ? | Community
Skip to main content
Level 2
May 2, 2024
Solved

How can you copy workflow models from one environments to another ?

  • May 2, 2024
  • 2 replies
  • 859 views

Hi,

I accidentaly deleted two workflow models from a lower environment.
Since I have them on an upper environment, I'm looking to copy the workflow models from it to the lower environment.

How can I do it ?
I tried already with the package manager by copying this path : "/libs/cq/workflow/admin/console/content/models/jcr:content"

Unfortunately, none of the models seems to be installed (or just copied) to the lower environment with this path.

Thanks for your help!

Regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by WesleyGrant

I believe the path you are looking to copy is /var/workflow/models. 

2 replies

WesleyGrantAccepted solution
Level 2
May 2, 2024

I believe the path you are looking to copy is /var/workflow/models. 

fbfrAuthor
Level 2
May 2, 2024

Thanks! that was it 

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 2, 2024

Hi, 

Workflow models and launchers are stored under /conf, and workflow running instances(Runtime models) are stored in /var, so you may need to copy from "/conf/global/settings/workflow/models" (or /conf/<yourProject>/settings/workflow/models) and then "sync" to create their runtime model.

 

You can learn more here: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/extending-aem/extending-workflows/workflows#runtime-model 

 


Hope this helps.

Esteban Bustamante