Trigger a workflow on multiple assets from AEM projects console

rakshashetty

20-09-2019

Hi All,

I have a requirement where i need to trigger a  workflow on multiple assets from projects console . Any inputs on this ?

1835554_pastedImage_1.png

1835555_pastedImage_2.png

The content path now allows to choose only single asset.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Answers (7)

Answers (7)

jbrar

Employee

20-09-2019

As per my understanding, this is working as designed. That said, The Properties tab is created from the node structure at [1] if you would like to customize Or add multiple paths.

Lastly, you can create a daycare ticket with a detailed business impact and we can log an improvement request with the Engineering team.

[1]

/libs/cq/core/content/projects/workflowwizards/landingpagerequest/jcr:content/items/column2/items

rakshashetty

23-09-2019

Hi ,

I need to run multiple instances of the same workflow on multiple assets that i select i.e one instance getting mapped to one asset so that i can get notifications for each of the asset separately.

Currently as per OOTB design single workflow runs on a folder (containing multiple assets) creating a single instance of workflow and hence giving only one notification. (i have checked Multi Resource Support as well)

Kindly note that i am trying to run workflow from AEM Projects console.

Do you think this is feasible for customisation ?

Thanks in advance!

hamidk92094312

Employee

22-09-2019

Multi Resource Support

Activating Multi Resource Support for your workflow model means that a single workflow instance will be started when you select multiple resources. It should be activated for your workflow model.

berliant

Employee

20-09-2019

"but the notification is just one" - it's expected. It starts a single workflow with multiple payloads by selecting a folder as a payload.

There is no option to start multiple workflows for each asset in the payload folder.

rakshashetty

20-09-2019

JaideepBrar​ thank you for the inputs .

We have built our project workflow as described here Develop AEM Projects

I need to add a multi-field component to be able to select multiple assets from projects and then trigger my workflow simultaneously on all these assets . Result of which the project team members should get multiple notifications (triggered from project task which make up the workflow) for each of the assets.

Is it something that can be customised on our end ? Kindly advice .

rakshashetty

20-09-2019

berliantvish.dhaliwal thank you for this input .

But since this workflow is a project workflow , we have project tasks that make up this workflow where we are sending notifications to project team members .

Now , when i trigger the workflow at folder level the payload is the folder which has all the assets but the notification is just one which is not expected as we need as much notifications as the number of assets inside the containing folder .

Do you think this can be achieved ?