Reply from eburkland on Jun 23 at 10:00 PM No, if you want it to show up in process monitor then you need to do what GN suggested and schedule the process. Be aware though that when you run the code 'online' via CallAppEngine the program runs and any Peoplecode after the CallAppEngine call will wait until the program has finished before continuing. If you schedule a program on the Process scheduler the rest of the Peoplecode after the Schedule will process immediately. If you want to wait for the program to finish after scheduling the process you will have to write special code to query the run status of the program. &processRqst = CreateProcessRequest(); &processRqst.RunControlID = %datetime; &processRqst.ProcessType = "Application Engine"; &processRqst.ProcessName = "YourAEName"; &processRqst.RunDateTime = %Datetime; &processRqst.Schedule();
| | | ---------------Original Message--------------- From: aisha Sent: Thursday, June 21, 2012 11:57 AM Subject: CallAppEngine To Trigger an App Engine Hi, I want to trigger my application engine through a push button. So do I have to give the state record and process instance mandatory to the CallAppEngine function? I just want to trigger the application engine. Thanks in advance. | | Reply to this email to post your response. __.____._ | _.____.__ |
No comments:
Post a Comment