How to set "Initialization/UniqueActivityTerminateExceptions=true" ?

Hi all,

We sometimes see following error message:

com.pega.pegarules.pub.runtime.ActivityTerminateException: This is a singleton exception object and the stack trace below does NOT reflect the actual point of failure. To see the actual trace, set Initialization/UniqueActivityTerminateExceptions = true

So we would like to see the actual trace an set “Initialization/UniqueActivityTerminateExceptions” to true.

From the looks of it, “Initialization/UniqueActivityTerminateExceptions” seems to be a Dynamic System Setting. However, we do not have a DSS with that name (Infinity '24).

So if it is a DSS, do we have to create it ourselves?

And if it is not a DSS, how can we set Initialization/UniqueActivityTerminateExceptions to true?

Thanks,

Gerald

@Gerald Pieper - We can set the value in server side in web.xml file using below code.

or can create the DSS in Pega-Engine ruleset.OOTB one is not present in platform. If required can set the values either of the ways.

Thank you.

@Priyanka Boga Thanks, Priyanka, I will use that!

@Priyanka Boga I have created the setting, as you described, in the hope the QueueProcessor pzProcessSLA would display what exactly went wrong, but the trace log in the broken queue item remains the same. Is this setting only working for OnPrem installations and for PegaCloud clients we need to do something else?