Workflow Launcher Configuration Path * | Community
Skip to main content
Sarath724
February 16, 2018
Question

Workflow Launcher Configuration Path *

  • February 16, 2018
  • 1 reply
  • 1645 views

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!!

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

1 reply

Rima_Mittal
Level 4
February 16, 2018

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:

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