Support Article
Null parameter error when tracing a case during its creation
Summary
Null parameter error occurs when tracing a case during its creation.
Error Messages
Required parameter ... for data page ... cannot be blank.
Steps to Reproduce
- Configure an autocomplete field with a data page as the source
- Retrieve the data page values from a data transform
- Create a case and navigate to the Tracer
Root Cause
Pega 7.3 uses the Change tracker mechanism which loads a data page and other rules while case creation and logs the case in the Tracer. The following code snippet in the tracker results in the error:
try {
if (tools.getParamValue("AJAXTrackID") != null
&& !tools.getParamValue("AJAXTrackID")
.equals("")) {
com.pega.pegarules.priv.runtime.IStreamChangeTracker ct_controlAction = pzAuto
.getChangeTracker(tools
.getParamValue("AJAXTrackID"));
ct_controlAction.trackPageChanges("D_xxxx",
true, -1);
}
} catch (Exception e) {
}
Resolution
Perform the following local-change:- Create a new data transform, for example, testDT and set the following:
Param.role to "aaaar"
Param.orgUnit to "bbbb" - Set 'Apply Data Transform' as testDT in the flow action tab
Published March 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.