Adobe-Marketing-Cloud / aem-guides

AEM Guides contains multiple AEM Maven projects that are code companions for a corresponding tutorial found on helpx.adobe.com
https://helpx.adobe.com/experience-manager/kt/index/aem-6-3-videos.html
74 stars 80 forks source link

Running Multiple instances of a project workflows from Start Workflow Wizard #23

Open mozzvinod opened 5 years ago

mozzvinod commented 5 years ago

Affected guide

Describe the bug Hi team, I need to run multiple instances of project workflow from start workflow wizard. The problem is that when I select multiple paths (using pathfield) on step one and say submit, the workflow picks only the 1st item in the payload.

What I have been able to do is:

  1. Change resource type of "/projects/wizards/content-approval-start/jcr:content/items/column2/items/contentpath" to "granite/ui/components/coral/foundation/form/pathfield", so that I can select multiple resources.
  2. My workflow already support multiple payloads with individual instances as "Multi-resource-support" is unchecked in the model properties.

Waiting for your kind help around his requirement. Thanks.