Multiple asset activation via single workflow instaNce | AEM 6.5 | Community
Skip to main content
Adobe Employee
November 14, 2022
Solved

Multiple asset activation via single workflow instaNce | AEM 6.5

  • November 14, 2022
  • 2 replies
  • 2046 views

 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?

 

 

 

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 Mani_kumar_

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

2 replies

diksha_mishra
Community Advisor
Community Advisor
November 14, 2022

@digarg17  Please use this URL: <server:port>/libs/replication/treeactivation.html

to activate the tree.

digarg17Adobe EmployeeAuthor
Adobe Employee
November 14, 2022

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.

Mani_kumar_
Community Advisor
Mani_kumar_Community AdvisorAccepted solution
Community Advisor
November 14, 2022

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

digarg17Adobe EmployeeAuthor
Adobe Employee
November 14, 2022

looking for approaches where we don't need customisation - if anything exists at all ?

Mani_kumar_
Community Advisor
Community Advisor
November 19, 2022

I don't think we have anything as such, let us know here if you any better alternative solution.