Hi,
Do naybody knows How to schedule appengine from people code.
I am able to run appengine using peoplecode but seems only one parametre is misisng where i cna give reccurencenameor the time frame,
if anybody knows please leme know , till now, what i have done is : below:
Local ProcessRequest &req;
&req = CreateProcessRequest("Application Engine", "APP11_AD");
&req.RunLocation = "SERVER";
&req.ProcessType = "Application Engine";
&req.ProcessName = "APP11_AD";
&req.RunControlID = "Myid";
&req.SetOutputOption("web", "text", "", "");
&req.Schedule();
If &req.Status = 0 Then
WinMessage("schedule scceeded", 0);
Else
WinMessage("error", 0);
End-If;
&req.RunDateTime = %Datetime;
| Title | Under | Posted on |
|---|---|---|
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
| PSFT Authentication token failed for Node PSFT_HR | PeopleSoft Technical | 01/03/2012 - 12:21am |
Hi,
Its is solved with the same code. by adding runreccurence property.
thanks,
Thanks for sharing the info!
HI,
WILL YOU please provide me the error free code
and
any prior things which i have to do
tel me i.e adding our process to process table etc
thanks in advance
hi,
Local ProcessRequest &req;
&req = CreateProcessRequest("Application Engine", "APP11_AD");
&req.RunLocation = "SERVER";
&req.ProcessType = "Application Engine";
&req.ProcessName = "APP11_AD";
&req.RunControlID = "Myid";
&req.RUNRECCURENCE="Daily";
&req.TIMEZONE="IST";
&req.SetOutputOption("web", "text", "", "");
&req.Schedule();
If &req.Status = 0 Then
WinMessage("schedule scceeded", 0);
Else
WinMessage("error", 0);
End-If;
&req.RunDateTime = %Datetime;
thanks a lot
this is also working. check it out
Local ProcessRequest &obj;
&obj = CreateProcessRequest();
&obj.RunControlID = "Myid";
&obj.ProcessName = "ProcessName ";
&obj.RunLocation = "PSNT";
&obj.ProcessType = "Application Engine";
&obj.Schedule();
Post new comment