Problem with Workflows | Community
Skip to main content
October 16, 2015
Solved

Problem with Workflows

  • October 16, 2015
  • 5 replies
  • 2934 views

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?

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

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. 

5 replies

vijayraj_vkAccepted solution
Level 2
October 16, 2015

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. 

October 16, 2015

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 :(

GK-007
Level 9
October 16, 2015

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.

Level 3
October 16, 2015

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

October 16, 2015

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 :(