Is it possible to activate all the assets and child assets (in subfolders) with single workflow instance/request in 6.5 AMS?
AEM Cloud has 'Publish content tree' but 6.5 doesn't.
If I select 'Activation Model' and use a folder as payload , 1 workflow instance is started and only folder gets activated , not sub folder/assets inside.
Looks like only option is to create a custom process or trigger workflow request for each asset. Any suggestions/thoughts?
Solved! Go to Solution.
Views
Replies
Total Likes
You can write the custom logic in the workflow process step to activate the child nodes/pages as well.
This article shows how to replicate from servlet same can be applied in workflow process step.
https://aem.redquark.org/2018/10/day-19-replication-api-in-action.html
Hope this is helpful
I am aware of this , but I am specifically looking for bulk activation as a workflow step when payload is a folder not direct repliction.
You can write the custom logic in the workflow process step to activate the child nodes/pages as well.
This article shows how to replicate from servlet same can be applied in workflow process step.
https://aem.redquark.org/2018/10/day-19-replication-api-in-action.html
Hope this is helpful
looking for approaches where we don't need customisation - if anything exists at all ?
I don't think we have anything as such, let us know here if you any better alternative solution.
We ended up using 'AEM ACS Commons' process step called Replicate with Options , that can accept folder as payload , create a single workflow instance and activate all assets / sub assets. There is 'NO' need for customisation.
Views
Replies
Total Likes