Make AEM 6.5 custom Workflow location in project specific folder

Avatar

Avatar
Validate 1
Level 1
rajeshk7403909
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rajeshk7403909
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
rajeshk7403909
Level 1

24-06-2020

Hi ,

Default location for Workflow model is : /conf/global/settings/workflow/models/MyCustomWF. How can i make the WF model location inside my project folder i.e /conf/global/settings/workflow/models/<My Project>/MyCustomWF.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

24-06-2020

Hi Rajesh,

Custom workflow models can be kept under /conf/global/settings/workflow/models/<My Project>/MyCustomWF directly by copying from older location to new one, see [0].

Locations - Workflow Models

Workflow models are stored in the repository according to type:
  • Out-of-the-box workflow designs are held under the following path:
    /libs/settings/workflow/models/
     
    Do not:
    • place any of your custom workflow models in this folder
    • edit anything in /libs
    As any changes may be overwritten at upgrade or when installing hot-fixes, cumulative fix packs or service packs.
  • Custom workflow designs are held under:
    /conf/global/settings/workflow/models/...
    
    
    
  • Runtime workflow designs (both out-of-the-box and custom) are held under the following path:
    /var/workflow/models/
  • Legacy workflow designs (both design-time and runtime) are held under the following path:
    /etc/workflow/models/
     
    If these designs are edited using the AEM UI , then the details will be copied to the new locations.
     
     
     
     
    Thanks,
    Vaishali

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
rajeshk7403909
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
rajeshk7403909
Level 1

Likes

0 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
rajeshk7403909
Level 1

06-07-2020

I got the answer after multiple attempts. You just need to shift your workflow node in the folder(created by you) in CRX and go to touch ui and open the new workflow by directly hitting the Workflow MODEL URL and not navigating through the navigation Model tile. After having Model opened in the Edit mode and click on sync model. Now your workflow is in new folder created by you.