Where is the workflow executed when specifying Run Mode as Publisher in a Launcher | Community
Skip to main content
AEMing
Level 2
January 12, 2016
Solved

Where is the workflow executed when specifying Run Mode as Publisher in a Launcher

  • January 12, 2016
  • 2 replies
  • 755 views

My workflow sends an e-mail when the following launcher criteria is met, but it only works when Run Mode is Author. When changing Run Mode to Publisher nothing happens and I've been unable to find anything in error.log. The Mail Service is configured and works as I have a service that successfully sends an e-mail. To investigate this further, I'm wondering where the workflow is actually executed when Run Mode is specified as Publisher? Should I be investigating on the Author or the Publisher? Basically I just want an e-mail to be sent when a page is published.

 

Event Type: Created

Nodetype: cq:Page

Path: /content/mycompany/events

Run Mode(s): Publish

Condition: jcr:content/cq:template==/apps/mycompany/templates/event

Workflow: MyWorkflow

Activate: Enable

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

It runs on publisher when you set the run mode to publish. However, you need to make sure that the launcher configuration is also rightly set in publisher instance as well. In the publisher launcher configuration the run mode should be set to publish as well. 

2 replies

Kunal_Gaba_
Kunal_Gaba_Accepted solution
January 12, 2016

It runs on publisher when you set the run mode to publish. However, you need to make sure that the launcher configuration is also rightly set in publisher instance as well. In the publisher launcher configuration the run mode should be set to publish as well. 

Jitendra_S_Toma
Level 10
January 13, 2016

Just adding to what Kunal pointed out. Better to re-check SMTP mail service configuration on a publishing server as well.

Also, you could check whether workflow executed and shows status "completed" or not. If workflow is completed, then something wrong with mail service.

Jitendra