Hi ,
I am able to initiate the workflow on click on publish of asset but my asset get published first then workflow get started.
I tried with these two approach to control publish event.
Both are having same problem asset are publishing first then workflow get started .
As per requirement when author click on publish asset, approval workflow should triggered then asset should publish.
Question: can we control asset publish event ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @chetan001 ,
On click of publish , OOTB publish workflow gets triggered. I had the same case where I triggered my workflow on click of manage publication.
You can refer the below blog where I have done that.
https://bimmisoi.blogspot.com/2020/07/aem-trigger-customized-workflow-on.html
Similarly you need to create a custom workflow, where get your work done and then publish the asset.
Hope this helps!
Thanks
Hi @chetan001 ,
On click of publish , OOTB publish workflow gets triggered. I had the same case where I triggered my workflow on click of manage publication.
You can refer the below blog where I have done that.
https://bimmisoi.blogspot.com/2020/07/aem-trigger-customized-workflow-on.html
Similarly you need to create a custom workflow, where get your work done and then publish the asset.
Hope this helps!
Thanks
Views
Replies
Total Likes
If you have followed this document then the workflow will be triggered on manage publication and not on publish
Views
Replies
Total Likes