Issue with calling stored procedure

See attached code. In the code, the rule QM_querySPRemedyReceiveSearch is calling the executestoredprocedure function. Notice that I have it inside a with. This means that every time the user pages on the grid or sorts by any column, I WANT to call the SP every time. However, it is only working the FIRST time for some reason. After the second time, it doesn't work. Notice that I have an IF statement. if(local!gridSelection.pagingInfo.startIndex <> local!newGridSelection.pagingInfo.startIndex) The condition on the IF is always met is it is supposed to call the SP but it is not working. Any ideas on why it only works the first time?

testRule.txt

OriginalPostID-202825

OriginalPostID-202825

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data