Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Why workflow is still triggered when clicking on "Activate/Deactivate Page" when user/group doesn't have replication permission.

Avatar

Avatar
Give Back
Level 1
uniqvaibhav
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
uniqvaibhav
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
uniqvaibhav
Level 1

31-05-2021

Hi,

 

I have created a group which doesn't have replicate permission, but when I click on the page sidekick "Activate Page" I am receiving message: "Warn: No rights to replicate, Request for De/Activation issued for <website page path>", also it is triggering a workflow for activation.

 

Why it is happening and how it can be resolved? Please let me know. It is related to classic UI mainly.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 100
Employee
markus_bulla_adobe
Employee

Likes

110 likes

Total Posts

89 posts

Correct Reply

46 solutions
Top badges earned
Boost 100
Applaud 25
Affirm 25
Boost 50
Boost 25
View profile

Avatar
Boost 100
Employee
markus_bulla_adobe
Employee

Likes

110 likes

Total Posts

89 posts

Correct Reply

46 solutions
Top badges earned
Boost 100
Applaud 25
Affirm 25
Boost 50
Boost 25
View profile
markus_bulla_adobe
Employee

31-05-2021

Hi @uniqvaibhav!

This is actually an expected behavior, if not to say: a feature.

If you try to publish a page but don't have the according replication permissions, AEM will start a "Request for Replication" workflow for you. OOTB that request will be assigned to admin but this can be customized based on your requirements. There is blog article [1] outlining the according mechanism (it's a bit outdated, but the general approach is still valid).

 

Please also note that there is a corresponding mechanism when unpublishing or deleting a page ("Request for deactivation" workflow) and that deletions automatically trigger a de-publication.A common case where these workflows apply unintentionally is if references should be replicated (e. g. assets) but replication rights are missing for the referenced content.

 

If you attempt to change the OOTB behavior, please plan for the underlying use case: what should happen if a user tries to replicate (also indirectly through references) content without according permissions?

 

Hope that helps!

 

[1] https://blogs.perficient.com/2019/02/11/customizing-request-for-activation-deactivation-wizards-aem-...

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

31-05-2021

Hi @uniqvaibhav 

 

Please ensure they are not part of "workflow-users" or "workflow-administrators" group.
Also ensure they do not have access to "/etc/workflows"