Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Workflow restriction based on pages which user is opening

Avatar

Level 3

Hi All,

Can we restrict workflow, not to appear on selected page for user and to appear the same workflow on other page for the same user.

For. e.g. When we right click on page , select workflow, I get list of workflows to select. My requirement is not to show some workflow for certain page or Node for some user.

Like for example: To have custom activation workflow present at "content/wknd/en/home" but restrict same workflow at "content/wkdys/en/home" for same user/group.

 

I know there is Access control List (ACL) functionality, but this in workflow case applicable for group or user based restriction. 

Hope I am able to explain correctly.

Can we configure workflows somewhere, so that above scenario can we achieved?

Thanks !

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@uniqvaibhav,

You can easily create a new user group with the restriction "READ" permission, to that particular node. Any member of that user group will not be able to see the workflow.

View solution in original post

5 Replies

Avatar

Community Advisor

Hi, 

OOTB there is no configuration but you can try rendercondition to show/hide workflow based on usergroup and path.

 



Arun Patidar

Avatar

Level 3

Hi @arunpatidar,

Thanks for your response, how can I achieve that on runtime based the page selected?

Avatar

Level 3

Hi @arunpatidar,

 

Can you please let me know using renderCondition how can I achieve this functionality?? 

I have tried renderCondition to hide the workflow in runtime but it's not working.

Avatar

Correct answer by
Community Advisor

@uniqvaibhav,

You can easily create a new user group with the restriction "READ" permission, to that particular node. Any member of that user group will not be able to see the workflow.