Support Article

Campaign run hangs at running state



Campaign stucks in running state when given wait time on Email shape with Pega Marketing 7.13.

Error Messages

java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long

CDHXD.MKT_PROSPECTS C ON ( ( R.CustomerID = C.CUSTOMERID ) ) LEFT OUTER JOIN CDHXD.MKT_CONTACT_SUMMARY CS ON ( ( R.CustomerID = CS.CustomerID ) ) WHERE (R.FLOWSTATUS = 'Wait' AND R.WAITEXPIRATIONTIME <= current_timestamp ) ORDER BY R.CustomerID, R.BundleName, R.BundleParent desc, R.pxRank
java.sql.SQLSyntaxErrorException: ORA-00972: identifier is too long

at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4C8Oall.processError(
at oracle.jdbc.driver.T4CTTIfun.receive(
at oracle.jdbc.driver.T4CTTIfun.doRPC(

] (fferBatch.System_Queue_.Action) ERROR - ProcessOfferBatch: Batch execution failed. java.lang.Throwable: Cannot list the database
at com.pegarules.generated.activity.ra_action_processofferbatch_395384499f5b16d3ce1768b3d6273cbc.step34_circum0(
at com.pegarules.generated.activity.ra_action_processofferbatch_395384499f5b16d3ce1768b3d6273cbc.perform(
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(

Steps to Reproduce

1. Configure a campaign in which offers are sent through email.
2. On Email shape utility give a wait time.
3. Run the campaign.

Root Cause

User configured properties in top level SR class, which is having more than 28 characters.

So in ExcecuteProgramRun flow, when it is checking for any offers in wait , it is fetching data from BatchOutPR table, it is throwing identifier too long exception.


Create a sample application with properties less that 27 characters and tested. It is working fine in this case.

So user is suggested to reduce the length of the property name in their application.

Published May 24, 2017 - Updated July 4, 2017

Have a question? Get answers now.

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