You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

state record

2 replies [Last post]
a.mahesh197's picture
User offline. Last seen 12 years 20 weeks ago. Offline
Joined: 08/19/2008
Posts: 6

Hi,
All we know that state record can store only one row ,but can anybody tell me why?i.e, why we cann't store more than one row in state record.

simrose's picture
User offline. Last seen 6 years 32 weeks ago. Offline
Joined: 08/01/2008
Posts: 33
Re: state record

Because normally state record are keyed by Process Instance (Single key) so while running AE we can not have two Process instance for a single user that's why it have single row and it also designed like that

Lepa's picture
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: state record

simrose is right, one row per user/process instance. So practically, a state record can have more than one row but for different process instance. Think about a state record fields as a "variable" in any other programing language, even in peoplecode. Each variable can store one and only one value. For example if on line 5 in your program you have &name = my_name; and then on line 25 you have &name = your_name; then you end up with only one value and that is &name = your_name.

More info on application state record @ this forum topic http://www.compshack.com/forum/peoplesoft/peoplesoft-technical/state-record

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog