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

pzPreGetChildKeys function behavior incorrect

SA-91636

Summary

HFix-30094 invokes the pzPreGetChildKeys function when the pxCheckFlowDependencies activity is invoked. However, the function builds SQL i.e queries tables which are not relevant to parent or child case tables.

For example,

select pxObjClass as "pxObjClass", pxCoverInsKey as "pxCoverInsKey", pzInsKey as "pzInsKey", pyStatusWork as "pyStatusWork" from PEGA72DATA.pc_Work_ProcessEmail where pxCoverInsKey = ? 
UNION ALL select pxObjClass as "pxObjClass", pxCoverInsKey as "pxCoverInsKey", pzInsKey as "pzInsKey", pyStatusWork as "pyStatusWork" from PEGA72DATA.pc_work where pxCoverInsKey = ? 
UNION ALL select pxObjClass as "pxObjClass", pxCoverInsKey as "pxCoverInsKey", pzInsKey as "pzInsKey", pyStatusWork as "pyStatusWork" from PEGA72DATA.pc_pegatask where pxCoverInsKey = ? 
UNION ALL select pxObjClass as "pxObjClass", pxCoverInsKey as "pxCoverInsKey", pzInsKey as "pzInsKey", pyStatusWork as "pyStatusWork" from PEGA72DATA.pc_Bran_CoverTest_Work where pxCoverInsKey = ? 
UNION ALL select pxObjClass as "pxObjClass", pxCoverInsKey as "pxCoverInsKey", pzInsKey as "pzInsKey", pyStatusWork as "pyStatusWork" from PEGA72DATA.pc_work_accel where pxCoverInsKey = ? 

This degrades the performance and the execution takes longer than the required time.


Error Messages


 

Not Applicable


Steps to Reproduce

  1. Create a new property
  2. Add a Declare trigger to invoke pxCheckFlowDependencies on saving the property created
  3. Run a case
  4. Set a value to the property
  5. Click Save


Root Cause



Inefficiency of the underlying rules.

Resolution



Apply HFix-57250.

 

Published October 17, 2019 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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