PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Variable is returning blank after end-while but returns the value if checked within the while loop.

edited Nov 21, 2017 10:43AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center