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

Null parameter error when tracing a case during its creation

SA-50879

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

  1. Configure an autocomplete field with a data page as the source
  2. Retrieve the data page values from a data transform
  3. 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:
  1. Create a new data transform, for example, testDT and set the following:
    Param.role to "aaaar"
    Param.orgUnit to "bbbb"
  2. Set 'Apply Data Transform' as testDT in the flow action tab


Suggest Edit

Published March 29, 2018 - Updated October 8, 2020

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