Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Is it possible to start a workflow on asset folder?

Avatar

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
Level 2

15-10-2015

Hi,

  I have a requirement that I need to start a workflow on a selected asset workflow. This will iterate each asset under this folder and process some work. But when I right click on an asset folder, the "workflow" option is disabled. So I am wondering if it is possible to start a workflow on an asset folder?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
kumaranf
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

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

Avatar
Validate 1
Level 2
kumaranf
Level 2

Likes

2 likes

Total Posts

19 posts

Correct Reply

6 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
Affirm 5
Affirm 3
View profile
kumaranf
Level 2

15-10-2015

Please use the Workflow console and use your folder path as payload

http://localhost:4502/libs/cq/workflow/content/console.html

Answers (4)

Answers (4)

Avatar

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
Level 2

15-10-2015

sam.stange wrote...

Sorry, I thought you were talking about adding a workflow launcher on a sling:OrderedFolder. Where are you trying to add the functionality?

 

[img]2015-06-17_21-52-21.png[/img] I mean here.

Avatar

Avatar
Affirm 1
Level 1
sam_stange
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
sam_stange
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
sam_stange
Level 1

15-10-2015

Sorry, I thought you were talking about adding a workflow launcher on a sling:OrderedFolder. Where are you trying to add the functionality?

Avatar

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
Rui_J
Level 2

Likes

4 likes

Total Posts

39 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
Rui_J
Level 2

15-10-2015

If I understand you correctly, you are saying on siteadmin page, overwrite the dialog javascript to enable the workflow on context menu, then write a servlet to trigger the workflow?

Avatar

Avatar
Affirm 1
Level 1
sam_stange
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
sam_stange
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
sam_stange
Level 1

15-10-2015

It's definitely possible, however I would use a servlet instead. When a thumbnail is generated on the folder, it will cause your workflow to fire. It gets ugly quick.