How to show workflows for Folder type in the timeline, it shows workflow for only asset types | Community
Skip to main content
Sandeep_Rawat
Level 2
October 26, 2015
Solved

How to show workflows for Folder type in the timeline, it shows workflow for only asset types

  • October 26, 2015
  • 5 replies
  • 1356 views

Hi All, I am looking for solution to show workflow in the Timeline for any particular folder in the DAM. The timeline shows the workflow for any digital asset but for folder type and shows a message(The timeline is not available for the selected item type.) under it. 

Please suggest if we can somehow customise it to show the workflow for the activation of the folder and files under it in one go.

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 kautuk_sahni

Hi Sandeep Rawat 

Solution to you problem could be (Not Sure), Creating a custom workflow and setting an event listener on the folder or node (which you would like may it be page/Folder/Asset) and performing your task.

Custom Workflow :- https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html

Accessing CQ nodes using JCR API :- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

Event Listnel Example :- https://helpx.adobe.com/experience-manager/using/tagmanager.html

 

I hope you could use these to workout with your use-case. 

 

'Thanks and Regards

Kautuk Sahni

5 replies

smacdonald2008
Level 10
October 26, 2015

Can you please explain your use case in more detail. 

Sandeep_Rawat
Level 2
October 26, 2015

Hi, On the home page (http://localhost:4502/projects.html), select Assets tab and then choose any asset folder. Click on select(icon) and then click on the asset folder. Then click on Timeline, Under the Show all, there is an option to select the workflow to run. On click of the workflow, it doesn's show the workflows list. Which I can use for activation of the folder and its assets. Please let me know if anything is not clear

smacdonald2008
Level 10
October 26, 2015

Ok - yeah workflows are only applicable to assets - not folders. 

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 26, 2015

Hi Sandeep Rawat 

Solution to you problem could be (Not Sure), Creating a custom workflow and setting an event listener on the folder or node (which you would like may it be page/Folder/Asset) and performing your task.

Custom Workflow :- https://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html

Accessing CQ nodes using JCR API :- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

Event Listnel Example :- https://helpx.adobe.com/experience-manager/using/tagmanager.html

 

I hope you could use these to workout with your use-case. 

 

'Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Lokesh_Shivalingaiah
Level 10
October 26, 2015

Hi Sandeep,

Workflow can be applied at each resource level, I dont think you have start the workflow in bulk (at a folder level) OOB. 

For that, you may have to overrirde the 'Workflow' action and if its a folder, start the workflow for each resource (asset) individually.