Trigger a workflow on multiple assets from AEM projects console

Avatar

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
rakshashetty
Level 1

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)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

20-09-2019

If assets reside in the same folder, you can choose the folder itself as a payload destination.

Answers (7)

Answers (7)

Avatar

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Vish_dhaliwal
Employee

20-09-2019

Totally agree with berliant​. I just tested by running the workflow on path content/dam.

payload.PNG

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

389 likes

Total Posts

869 posts

Correct reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
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

Avatar

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
rakshashetty
Level 1

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!

Avatar

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

103 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

103 likes

Total Posts

240 posts

Correct reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile
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.

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
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.

Avatar

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
rakshashetty
Level 1

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 .

Avatar

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
rakshashetty
Level 1

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
rakshashetty
Level 1

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 ?