I have a launcher that is triggered on a cq:PageContent node on 'Node modified' and I have set a condition to prevent it from firing if a property exists. However, the OOTB Publish workflow is triggering this launcher.
I've used the Exclude List to ignore any changes triggered by another workflow process by adding this:
That didn't help. The user data "changedByWorkflowProcess" would already be set by this OOTB publish workflow I'd imagine.
I've also tried adding the following to the exclude list, with no luck:
CC: @smacdonald2008 ; @Jörg_Hoh (I've read your post on https://cqdump.wordpress.com/2020/01/03/prevent-workflow-launchers-from-starting-a-workflow/)
Hi guys, my globbing in the Path field in Launcher was incorrect. I was using /content instead of /content(/.*/)jcr:content. I didn't think I needed to have jcr:content in the path as my nodeType was already specified as cq:PageContent. Once I narrowed this to jcr:content and used the excludeList, it worked.
You can add the Exclude List in custom workflow launcher configs that specifies any JCR events to exclude (i.e. ignore) when determining whether a workflow should be triggered.
Try checking the use case after adding the following in exclude list:
This launcher property is a comma separated list of items:
Hi @AnjaliBiddanda ,
Hope this kb article helpful to you.
And here it mentioned like - Implement a custom JCR event listener instead.