Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

5 Replies

Avatar

Level 10

Can you please explain your use case in more detail. 

Avatar

Level 2

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

Avatar

Level 10

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

Avatar

Correct answer by
Administrator

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

Avatar

Level 10

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.