Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to set permissions on workflow models to a specific user group?

Avatar

Level 6

Let's say I have a user group x with minimal permissions which needs to trigger a workflow y. Currently the group permissions are,
Capture.PNG

 

So if I try to start the workflow from the sites, selecting the page --> Create --> Workflow, in select the workflow models dropdown OOTB models are also being listed. I want the dropdown list to be restricted to only the workflow y, which I created. So how can I set the required permissions!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

You can also achieve the given use case by implementing Workflow: System tag on the model. This will allow you to hide default workflows and display custom workflows in the Start Workflow list in the AEM Sites and Assets UI. See [0] for more details.

 

Steps:

Workflow models are hidden by setting Workflow: System tag on the model.

  1. Go to the Workflow Models console: http://host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models
  2. Click Page Properties on the AEM Sidekick.
  3. Add Workflow: System tag into Tags/Keywords.
  4. Remove Workflow: WCM tag (and other tags) from Tags/Keyword if any.
  5. Click the OK button.
  6. Click the Save button in the top left of the editor page.

[0]: https://helpx.adobe.com/in/experience-manager/kb/hide-workflow-models-start-workflow-list.html

View solution in original post

5 Replies

Avatar

Level 6
For the models folder the permission was set to deny for jcr:read and for inside one folder set the permission as allow. But it ain't showing up. The rule is to deny all and allow specific right!

Avatar

Level 4

Answer by @hamidk92094312 already covers the link you can try and it works.

 

In case you need to deny certain workflows from appearing in the drop down and it is true for all the users then a suggested approach can be to tag such workflows as system workflows. You can open the workflow properties and tag it with workflow/system and it won't appear in any drop down where user can select it.

 

 

Avatar

Correct answer by
Employee

You can also achieve the given use case by implementing Workflow: System tag on the model. This will allow you to hide default workflows and display custom workflows in the Start Workflow list in the AEM Sites and Assets UI. See [0] for more details.

 

Steps:

Workflow models are hidden by setting Workflow: System tag on the model.

  1. Go to the Workflow Models console: http://host:port/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models
  2. Click Page Properties on the AEM Sidekick.
  3. Add Workflow: System tag into Tags/Keywords.
  4. Remove Workflow: WCM tag (and other tags) from Tags/Keyword if any.
  5. Click the OK button.
  6. Click the Save button in the top left of the editor page.

[0]: https://helpx.adobe.com/in/experience-manager/kb/hide-workflow-models-start-workflow-list.html