Hello all,
I have an OOTB workflow set up to launched via an Workflow Launcher when a page is published using Quick Publish.
However, the launcher is triggering whether I synchronize a page using our LiveCopy configuration as well as when a page is published.
Is there a way to exclude the synchronization and only have the Launcher triggered when a page is published using Quick Publish?
The workflow is meant to send a notification to management when a page is published.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @carbfrze_crown ,
Can you try below condition in Exclude list ?
event-user-data:rollout
This will prevent the launcher from triggering when the replication event was initiated by a LiveCopy sync (rollout), assuming the rollout sets "rollout"
as the user data in the event—which AEM does by default.
You can also explore Replication Event Listener to listen publish event and start a workflow.
Few example for replication event
Starting workflow using java - https://aemsimplifiedbynikhil.wordpress.com/2020/11/13/invoking-a-workflow-from-servlet-in-aem-6-5-5...
Hi @carbfrze_crown ,
Can you try below condition in Exclude list ?
event-user-data:rollout
This will prevent the launcher from triggering when the replication event was initiated by a LiveCopy sync (rollout), assuming the rollout sets "rollout"
as the user data in the event—which AEM does by default.
This exclusion worked! Thanks for the suggestion.
Views
Likes
Replies