Make AEM 6.5 custom Workflow location in project specific folder

rajeshk7403909

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)

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)

rajeshk7403909

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.