Home > Error Handling > Peoplesoft Ci Error Handling

Peoplesoft Ci Error Handling


Top Tue, 01/01/2013 - 11:31am #4 Hari_aindian Offline Joined: 08/02/2010 Posts: 84 Re: To capture Logical Errors from Component Interface You can set up the AE step level property like On Run a For loop calling the CI for all the records in the record array.5. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. TrackBack URL. 1 Comment Dan says: January 19, 2011 at 7:54 pm Looks like your test recreates the CI for each iteration. navigate here

Do we have any mechanism to track those? Click here to toggle editing of individual sections of the page (if possible). Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... See pages that link to and include this page.

Try Catch In Component Interface

Write errors to a log file. Make sure that there are Throw functions where you are expecting the Exceptions in the Code Regards PSOFTHUB Psofthub Hyd Top Best Answer 0 Mark this reply as the best answer?(Choose Conclusion In conclusion, my goal was to demonstrate a bug in handling errors.  I think I failed because I wasn't able to reproduce what I am seeing in production. When to use ReUse - SQL Action Property Handling CI without going to NoSuccess !!

MinkyBoodle replied May 11, 2005 Any thought on a good-old fashioned "Try-Catch" block? Not a good thing to happen to a user who doesn't know or care about the fact that you are doing some system logging. Top Thu, 02/25/2016 - 8:48am #7 Ashar Offline Joined: 03/26/2008 Posts: 227 Re: To capture Logical Errors from Component Interface I believe you have a Do-Select and a PeopleCode combination in rem ***** Get the Component Interface *****;       &oBlgPersDtaCi = &oSession.GetCompIntfc(CompIntfc.BLG_PERS_DTA_CI);       If &oBlgPersDtaCi = Null Then          errorHandler();          throw CreateException(0, 0,

Thanks!! Component Interface Error Messages Pradnya replied May 11, 2005 Hi If you are calling CI from peoplecode then you can use following code to handle errors: Local ApiObject &sesobj, &ErrorObj, &MsgCollection, &Session; /* Open Session You're now being signed in. http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/how-to-handle-errors-in-component-interface-4923664 This is because even thought the cursor is open (IsOpen call returns true), it is unusable.

The response could be different. Have anyone went through PS HCM 9.1 to 9.2 along with PT 8.54 to 8.55? This function needs to be called when ever methods like Find, Save, Create methods return false. Look in PeopleBook for more details and examples.

Component Interface Error Messages

You can make use of it for your requirement. http://psst0101.digitaleagle.net/2011/01/07/explorations-in-component-interface-handling-component-interface-errors/ Note: The exception to this is Subscription PeopleCode. Try Catch In Component Interface Application HCM 9.1, Tools 8.52. Error Handling In Application Engine Peoplesoft In the event of a CI error, perform (a) or (b) below.(a) Check to see if your cursors are open, and if they're not, open them (if appropriate) before doing your

A PSMessage object contains information about the specific error that has occurred, such as the explain text for the error, the message set number, and so on. (The type of information http://setiweb.org/error-handling/php-array-error-handling.php JNT replied May 11, 2005 I would also be interested in learning more about this. I added the following PeopleCode to the end of the program: If PERSON.BIRTHSTATE = "CA" Then;    Error ("California is too far West!"); End-If; Here is what it looks like: Then, so my wrong value is getting saved but going to no success too.......

For this , we created a standalone rowset and just iterate each row calling the CI with each row data. If anyone can figure out how to tweak this to reproduce the problem, please let me know.  I would love to demonstrate it so that maybe Oracle could try to fix Use a single step of People Code instead of a DoSelect3. http://setiweb.org/error-handling/php-db-error-handling.php The problem I am seeing has to do with multiple updates.  The order matters, too.  We saw one instance where the last update erred, and everything worked fine.  Then on the

Awesome Inc. This is really just for safety. Have you tried creating it once and reusing it for each iteration?

What is "pop"?

Thanks in advance, Deepika Bookmark/Search this post with Top 6377 reads Fri, 08/24/2012 - 1:01pm #1 Saiyed (not verified) Re: To capture Logical Errors from Component Interface Try using try catch Home | Invite Peers | More PeopleSoft Groups Your account is ready. You might want to consider do whole or do select with reselect type with a flag Top This thread has been closed due to inactivity. And here is what the log looks like: Still works right.

rem ***** Begin: Get/Set Component Interface Properties *****;       rem ***** Get/Set Level 0 Field Properties *****;       &fileLog.WriteLine("&oBlgPersDtaCi.BIRTHSTATE = " | &oBlgPersDtaCi.BIRTHSTATE);       If &makeError Then;    Author does not give a guarantee on clearing the interview based on the contents published above. You can register if you want to contribute code samples, share your knowledge at your own blog, and become adored in the community! http://setiweb.org/error-handling/php-automatic-error-handling.php RESOLUTION:To work around the above issues, do the following.1.

rem ***** Set the Component Interface Mode *****;       &oBlgPersDtaCi.InteractiveMode = True;       &oBlgPersDtaCi.GetHistoryItems = True;       &oBlgPersDtaCi.EditHistoryItems = True; Then, we update the Empl ID field on If it can't process that particular row, I would like to cancel the CI and have it continue in the Do Select loop. You can still ask questions and help others! Handling warnings in CI App Engine Set Processing with Component Interfaces CI of GRP_QUICK_POST Component Component Interface - failure issue Component Interface Error in PeopleSoft Application Engine - CI Processing White

pplsft_dev replied Sep 7, 2012 When you drag-drop CI code, it automatically gives try-catch block and a error-handler function. print multiple rows from a select statement Document Upload - peoplesoft Inserting data for parent and child records through component interface from external file more Recent comments Re: Upload Files in Thanks Saiyed Top Wed, 02/24/2016 - 2:59pm #6 Guest Re: To capture Logical Errors from Component Interface I realize this thread is years old, but I am having the exact same Fetch the records into an array of records and close the cursor4.

Companies Cisco Toolbox for IT My Home Topics People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Follow Toolbox.com Toolbox for IT on Twitter Toolbox.com on Twitter Toolbox.com on It is suggested that you refer PeopleBooks to get the more relevant answers for the questions displayed on the blog. Saving Time With Custom Navigation Collection And ... Use CommitWork() calls at appropriate intervals (every row or a set number of rows).

Stay updated Subscribe with RSS Email Subscription Hall of Fame Most active contributors Most active commentors Most popular content CompShack is a user driven Dev2Dev IT community. Required fields in a CI that use a prompt table and have a default value appear to behave in a peculiar way. Thanks, Pavan Join this group Popular White Paper On This Topic The Six Questions Every IT Leader Needs to Ask 4Replies Best Answer 1 Mark this reply as the best answer?(Choose Here is the scenrio: This all is in one Application Engine 1.

If you want to discuss contents of this page - this is the easiest way to do it. All rights reserved. Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Is that possible?

TIA Brett [email protected] Join this group Popular White Paper On This Topic ERP Overview Comparison Guide 4Replies Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be Change the name (also URL address, possibly the category) of the page. Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... next write a logic to process personal data CI No issues with this as far save is concerned.