When I have an app engine that is causing problems, I like to run the process in debug mode via the command line. Sometime traces will tell you everything you need, but sometimes I get a better idea of where the problem is when I walk through the program.
First, log into App Designer in 3-tier mode and turn on the PeopleCode debugger (if you have PeopleCode in the app engine). Next, run the following command in the command line from the ps_home/bin/client/winx86 folder:
psae.exe -CT [ORACLE] -CD [HR89DEV] -CO [PS] -CP [PS] -R [RunControl] -I [PID] -AI [HRS_MERGE] -DEBUG Y
The app engine will log into the database and present you with the following prompt:
PeopleTools 8.48 - Application Engine Copyright (c) 1988-2006 PeopleSoft, Inc. All Rights ReservedApplication Engine Debugger - enter command or type ? for help.
HRS_MERGE.MAIN.logout-1>
You can view the current values in the state record, step into code - which will take you into app designer if it is a PeopleCode step. But the best feature is that it allows you to modify the contents of a state record.
how to pass values to that state record using cmd
Posted by: surya | August 05, 2011 at 08:25 PM