How to hide the workflow models for certain groups or a user in AEM 6.5? | Community
Skip to main content
venkateshk87129
Level 2
May 7, 2020
Solved

How to hide the workflow models for certain groups or a user in AEM 6.5?

  • May 7, 2020
  • 2 replies
  • 5001 views

Anyidea How to hide the workflow models for certain groups or a user in AEM 6.5?
runtime workflows are updated in /var/workflow/models,
In useradmin console I am unble to set permission to specific workflow model because workflowmodel is in /var/workflow/model is xml file and NOT having
mixnTypes: rep:AccessContrallable property.
Adding the system tag to workflowmodel hides the workflow model for all users but to specific group

my use case is I want hide workflow name in the dropdown option in starworkflow when specific group members trigger workflow

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 venkateshk87129

found solution:

1. creating custom workflow under /conf/global/setting/workflow/model/projectname/workflowmodel(projectname is sling:folder with mixinType: rep:AccessControllable

2. create worfkflow model above folder and sync

3. created runtime workflow under /var/workflow/model/projectname/workflowmodel

4. goto useradmin console update permission specific group(allow/deny)  to workflowmodel in /var/workflow/model/projectname/workflowmodel

 

 

 

 

2 replies

venkateshk87129
venkateshk87129AuthorAccepted solution
Level 2
May 7, 2020

found solution:

1. creating custom workflow under /conf/global/setting/workflow/model/projectname/workflowmodel(projectname is sling:folder with mixinType: rep:AccessControllable

2. create worfkflow model above folder and sync

3. created runtime workflow under /var/workflow/model/projectname/workflowmodel

4. goto useradmin console update permission specific group(allow/deny)  to workflowmodel in /var/workflow/model/projectname/workflowmodel