Custom workflow to publish multiple pages to intermediate publish instance and send E-mail notification to approver
Hi All,
I have a requirement to create a custom workflow to replicate multiple pages into preview publisher instance. Below is the use case,
1) Content author will work on multiple pages/Assets like,(/content/we-retail/en/home,/content/we-retail/en/home/about-us,/content/we-retail/en/home/contact-us, /content/we-retail/en/home/faq). Once the author completes the updates, he will be copying all the page URLs which he worked and pasted in some placeholder (It can be a separate page or separate component to just paste the URLs and start the workflow).
2) Once the workflow started, the workflow should get the list of URLs and replicate to the preview publisher instance and send the notification mail to content-approvers with the preview publisher URLs.
3) If approver approves the pages and completes the workflow then the list of the pages should replicate to the actual publisher instance.
4) During this workflow start and end, the list of pages(step-1) should be locked.
5) Once the workflow completes, then the pages should be unlocked.
Need suggestions on the below things:
1) I'm planning to use a workflow package to achieve this requirement, but how can I get the list of pages in the payload? shall we able to get multiple pages in Payload?
2) As I mentioned in step-2, how can I send the email notification to approver? any OOTB mail service is there? or I should go with the custom one? any examples?
3) In my custom workflow, is it possible to replicate the content to a specific publisher agent (In case if I have multiple publishers agents)?
4) How the instances connection should be? It can be one to one? Like Author->preview publisher->publisher. or both the publishers should be connected to the author?
FYI- I'm using AEM 6.4 & classic UI
@smacdonald2008 @14414417 @ratna_kumar @kautuk_sahni @wimsymonsvrt @cqsapientu69896 @vanegi @veenavikraman @varun_shakya @theo_pendle
Thanks in Advance!
Regards,
Vijay