首页 > 移动平台 > 详细

Application Engine

时间:2015-11-18 18:00:16      阅读:336      评论:0      收藏:0      [点我收藏+]

Exit(1) : Terminate the AE immediately and rollback all DB changes made
exit(0) : Terminate the AE immediately but will not rollback the DB changes made.

This is my understanding -
Any non-zero return code is some kind of error. The way it will be handled depends on “On Return” value for each step of application engine.

So exit(0) – is success

exit(1) and On Return = Abort – is error and exit program immediately
exit(1) and On Return = Break – is exit current step and section
exit(1) and On Return = Skip Step – exits current step, continue with next step

 

Navigate to the process definition of the application engine that you would like to trace (PeopleTools > Process Scheduler > Processes). Go to the Overrride Options tab, and from the Parameter List drop down select Append, and in the edit box next to it add the following line:

-TRACE 7 -TOOLSTRACEPC 4044

 

技术分享

 

This will trace SQLs inside of your application engine as well as peoplecode. Save the process definition and go ahead and run your program. To examine the trace files, just navigate to the process monitor, click details on your process, then View Log/Trace.

-TRACE output goes into Application Engine Trace (.AET)
-TOOLSTRACEPC output goes into the PeopleTools trace file (.trc)

Application Engine

原文:http://www.cnblogs.com/binquan/p/4975354.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!