Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

 

 

 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

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