How to invoke workflow from publish button | Community
Skip to main content
Level 2
May 6, 2024
Solved

How to invoke workflow from publish button

  • May 6, 2024
  • 1 reply
  • 1201 views

Hi experts,

I am very new to AEM (just starting off), I have basic requirement that when user create/update a page and click "publish" button instead of default publish I want to invoke a workflow and control the publish through this workflow.

I gone through many post around this but not able to make it work.

 

1. Someone suggested using "overlay node" option but that is not working for me. 

2. I tried the launcher approach and invoked the workflow on modification of page that worked but still keeps the publish option available to user.

 

I could not find any online documentation which provide guidance on this. Any help is highly appreciated.

 

Sailesh

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 joerghoh

Make sure that the user does not have the "replication" privilege on that page. Then the default "request for approval" workflow is invoked, which you can customize.

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 6, 2024

Make sure that the user does not have the "replication" privilege on that page. Then the default "request for approval" workflow is invoked, which you can customize.

saileshaAuthor
Level 2
May 6, 2024

Thanks @joerghoh , so if I take away publish privileges for the users then they won't be able to publish?

Sorry, didn't mention that we are using AEM on cloud, so replication would be publish rights?

 

Sailesh