How to program the Application Engine to return warning status to process scheduler?

To program the Application Engine to return warning status to process scheduler:-

Perform the below to set the AE_APPSTATUS field properly, in order to return the warning status to process scheduler after the AE finish.

1. Create an AET record for your application engine (AE) program if it does not have any, set it as primary state record
2. Add the field AE_APPSTATUS to the primary state record for your application engine program
3. In the AE program, create a peoplecode action, use the below code to set and return the warning status back to process scheduler accordingly.

rem set to 1 to return warning, 0 to return success.
AET_RECORD.AE_APPSTATUS = 1;

Comments

Post a Comment

Popular posts from this blog

Peoplesoft SFTP

How to find the Java Version being used by WebLogic

Peoplesoft Error: All Processing Suspended: Restart OPRID=PS, RUNID=RUN01, PI=5000(108,503)