Expand my Community achievements bar.

SOLVED

Problem with Workflows

Avatar

Level 1

Hi! i need help from those experienced users with AEM, this is my case:

I've been working with AEM and so far the Workflow steps had been enough for what i needed, but now, i have to add a new step to the Workflow, which is not my problem, the real problem is that i need all the uploaded assets to go trough all the Workflow steps again, so the change could be applied to them, is there a way to do this? or i'll need to delete all my assets and upload them again?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi,

You can use the workflow launcher[1] feature to call your workflow  when the content is modified. 

1. http://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-using.html#Starting Workflows When Nodes Change

If you need this workflow to be called at once and cannot wait for update then you can use the ACS common bulk workflow manager [2] to call your workflow.

2. http://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager.html

Hope this helps. 

View solution in original post

5 Replies

Avatar

Correct answer by
Level 2

Hi,

You can use the workflow launcher[1] feature to call your workflow  when the content is modified. 

1. http://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-using.html#Starting Workflows When Nodes Change

If you need this workflow to be called at once and cannot wait for update then you can use the ACS common bulk workflow manager [2] to call your workflow.

2. http://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager.html

Hope this helps. 

Avatar

Level 1

I tried this way, but i thought that i had to choose the asset's folder so i could apply the workflow to all of them at the same time, but i got a message error in my inbox :(

Avatar

Level 9

danielg57901902 wrote...

I tried this way, but i thought that i had to choose the asset's folder so i could apply the workflow to all of them at the same time, but i got a message error in my inbox :(

 

can you please share the error message when you trigger workflow on a folder.

Avatar

Level 3

if I understood correctly you want the same workflow (which was executed when the assets were created) to be run again. if its so - AEM provides workflow rest api and java api that can be used to programmatically trigger the workflows, see these-

http://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending.html#Workflow Java API

http://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending.html#Using the Workflow REST API

Avatar

Level 1

I've found a way to do it, maybe there's a easier way, but i opened an asset and in the right-click menu says "Workflow", and that allows me to apply a different Workflow to the asset (i had to make an independent workflow with the steps i wanted to perform) and the renditions that i wanted were created, i'll be working this way for now, because i'm a noob and i unterstood nothing from the document you sent me :(