Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Campaign enters into inconsistent state after node failure



When performing a Failover test for Pega Marketing, the following issues occur:
  1. The data flow is Paused.
  2. The Run schedule (PegaMKT-Work-ProgramRun instance) remains in the Running state (this is visible in: Pega Marketing portal > Campaigns > Run schedule)
  3. The corresponding System-Queue-ProgramRun instance remains in the Processing state (this does not change to to Success or Broken)

Error Messages

Not Applicable

Steps to Reproduce

  1. Set up a server with two data nodes.
  2. Start a scheduled Campaign run.
  3. Wait till the data flow starts.
  4. Stop the Java process that executes the Pega application on the second node (kill -9).
  5. Restart the web server.

Root Cause

The ProcessProgramRun agent executed the Campaigns. On killing the node where the agent is executed, the control over the Campaign run process is lost. Therefore, user intervention is required.


Here’s the explanation for the reported behavior:

When a node crash involves Pega Marketing (PM) agents, the Campaign run continues to be in the Running state.

The PR-xxx data flow run is paused.

When the server is restarted or if the Pega Marketing portal is available, the user must click the Stop button manually on the program run affected by the system crash.

When the Stop action is submitted,
  1. the program run item is set as Stopped.
  2. the corresponding PR-xxx data flow run also enters the Stopped state (from the Paused state).
To reduce the risk of node crashes on the Decisioning nodes, segregate the agents into separate nodes outside of the Decisioning cluster nodes.

Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us