Expand my Community achievements bar.

Workflow Launcher Configuration Path *

Avatar

Level 1

AEM 6.2

Hello,

I am working on a task where i have to create set of subfolders with some default properties programmatically when user creates a brand folder under given path(/content/brands).

For this i have created a workflow launcher which will create subfolders and set properties to those folders. But what i have observed is that when i am creating folders under the brand folder programmatically . Launcher is triggering another event/workflow.

Is there a way to configure path in launcher to only work for brand folders under brands(/content/brands) ? not for the subfolder created under it (/content/brands/brand1/sub-folder1) , (/content/brands/brand1/sub-folder2)?

Thanks!!

1 Reply

Avatar

Level 4

Can be done by manually setting a property for eg. createSubBrands == true on the parent folder. The same can be configured in AEM workflow launcher by specifying the 'condition' option:

Screen Shot 2018-02-16 at 5.14.16 PM.png

This will ensure the workflow runs only on those payloads which have the property and the value set.