Need to Store new workflow models in my custom project folder which i created ? | Community
Skip to main content
New Participant
May 18, 2021
Solved

Need to Store new workflow models in my custom project folder which i created ?

  • May 18, 2021
  • 2 replies
  • 755 views

I have requirement like when new workfow model create it should store in custom project folder which i created and it has to show in workflow model console.

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 BrianKasingli

@keshav_goud 

If creating models programmatically (using a crx package) you can also create a sub-folder within:

 

 

/var/workflow/models For example, /var/workflow/models/prototypes

 

This folder can then be used for managing access to the models in that folder.

 

Initially, the model, and its properties, is presented in read-only mode as:

  • Default workflows are located in /libs
  • Legacy workflows are located in /etc

For the full documentation click here: https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/extending-workflows/workflows-models.html?lang=en#editing-a-default-or-legacy-workflow-for-the-first-time

 

2 replies

BrianKasingli
BrianKasingliAccepted solution
New Participant
May 18, 2021

@keshav_goud 

If creating models programmatically (using a crx package) you can also create a sub-folder within:

 

 

/var/workflow/models For example, /var/workflow/models/prototypes

 

This folder can then be used for managing access to the models in that folder.

 

Initially, the model, and its properties, is presented in read-only mode as:

  • Default workflows are located in /libs
  • Legacy workflows are located in /etc

For the full documentation click here: https://experienceleague.adobe.com/docs/experience-manager-64/developing/extending-aem/extending-workflows/workflows-models.html?lang=en#editing-a-default-or-legacy-workflow-for-the-first-time

 

Umesh_Thakur
New Participant
May 18, 2021

whenever you create a workflow model in AEM, it gets stored in /var/workflow/models path so only thing you need to do is create a var folder of type sling:folder in ui-apps module of your project and then with the help of AEM developer tools for eclipse you can import that model in your project.

 

thats it.

Hope this will help.

Umesh Thakur