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

OutboundMaster agent fails with exception



The following issues occur while running the out-of-the-box OutboundMaster agent activities: 
  • The OutboundMaster agent queues the items for the WriteOutboundAgent agent activity even if the staging records are marked as ERROR. This results in additional queue items continuously being created and processed without any meaningful output in the file or the database
  • The data instances that the file or the database templates create and manage move into a soft locked state and subsequently is unable to process new records coming to the staging environment for those templates that are in the locked state.

Error Messages

[.PegaWorkManager : 7] [STANDARD] [ ] [FIN:01.01.01] (internal.async.AgentQueue) ERROR   - Agent [PegaMKT-Engine] activity [PegaMKT-Data-Outbound-Queue.ProcessOutboundStaging] queue number [7] disabled due to execution errors ErrorMsg: unable to execute agent: PegaMKT-Engine #7: PegaMKT-Data-Outbound-Queue.ProcessOutboundStagingCannot obtain a lock on instance PEGAMKT-DATA-OUTBOUND-TEMPLATERUN-FILE PEGAMKT-WORK-OFFER!<templatename>!FILE, as Requestor BPL9H1BSSCSR4JDYRBQ6WN6O44C4297FBA already has the lock 

Steps to Reproduce

  1. Create some records in the MKT_Staging database table with status = 'ERROR'
  2. Run a recurring campaign which runs every 5 minutes and uses a file output template
  3. Schedule the OutboundMaster and WriteOutbound agents frequently. The OutboundMaster agent fails

Root Cause

A defect in Pegasystems’ code or rules. Resilience issues with the outbound file or database channel processing. 


Apply HFix-51858.

Suggest Edit

Published September 11, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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