Add startbulkworkflows to create workflow for assets | Community
Skip to main content
February 10, 2022
Solved

Add startbulkworkflows to create workflow for assets

  • February 10, 2022
  • 2 replies
  • 1045 views

How can I add multiple assets to some workflow's payload?

 

Pages does /mnt/override/libs/wcm/core/content/common/startbulkworkflows.html but I override asstes.html to do same and it is not working

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Nitin_laad
Community Advisor
Community Advisor
February 10, 2022

@davidrm Below are the option you should try to invoke payload on multiple assets -

Option:1. if assets are in same folder and you want to invoke WF on selected assets, you should

     a. select multiple assets from the folder 

     b. click on create workflow option from left top menu option, and that way you should be able to pass multiple assets to WF. 

 

Option:2. Invoke workflow at folder level, all the available assets in folder will pass payload. 

 

 

 

DavidrmAuthor
February 10, 2022

Option a is not working for some reason, I can suggest option be.

 

EDIT: it is working but generates multiple workflows. So a workflow to get approval to remove 300 files it is generating 300 workflows and payloads. Not optimal.

Nitin_laad
Community Advisor
Community Advisor
February 10, 2022

@davidrm I tried option:1 on aem 6.5 and it is working fine for me.. if option:2 satisfies your requirement you should go with that, and  avoid product customization.