Support Article
Issue with "Load Table In RuleForm" in Decision Table
SA-38534
Summary
Issue with "Load Table In RuleForm" in Decision Table with Pega 7.2.
Error Messages
Not Applicable
Steps to Reproduce
1. Delegate a decision table with more than 500 rows.
2. View it in Case Manager Portal through the Configuration section.
3. Click "Load Table In RuleForm".
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change in UserWorkForm:
<script>
$(function() {
// Handler for .ready() called.
window.hideDisplayGrid = function(bShowGrid) {
if (gHideGrid) {
var retVal = confirm("This decision table contains more than " + gMaxDisplayCells + " cells. Loading this decision table into the rule form may take some time. Would you like to proceed?");
if (!retVal) {
return;
}
}
gHideGrid = !gHideGrid;
if (gHideGrid) {
document.getElementById("hideDisplayGridButtonText").innerHTML = "Load Table in RuleForm";
document.getElementById("showCompleteness").style.display = "none";
document.getElementById("showConflicts").style.display = "none";
} else {
document.getElementById("hideDisplayGridButtonText").innerHTML = "Remove Table from RuleForm";
document.getElementById("showCompleteness").style.display = "inline-block";
document.getElementById("showConflicts").style.display = "inline-block";
}
showGridToolbar(gHideGrid);
if (bShowGrid)
showGrid();
pega.u.d.resizeHarness();
}
});
</script>
Published July 10, 2017 - 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.