Variable is returning blank after end-while but returns the value if checked within the while loop.
Hi,
I came accross some weird issue in app engine peoplecode.
Here is the code
Variable &Jobrec returns blank after the while but wihtin while i get the value;
I did try to push the record object in while to an array of record. If while returns 5 rows the length of the array increases to 5(increments by 1 on each push not mentioned in the code below). But when i access the values each element(is 1 instance of the record)in the array i get blank values.
Is there a logic why variables used inside the while get set to blank after end-while. Is there something I am missing.