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 |
|---|---|---|
| How to run nvision report through portal | PeopleSoft Technical | 08/31/2010 - 4:45am |
| Any1 here who can help? | PeopleSoft Technical | 08/31/2010 - 2:12am |
| How to create matrix layout | PeopleSoft Technical | 08/27/2010 - 2:22am |
| UnCaught C++ Exception | PeopleSoft Technical | 08/10/2010 - 9:05am |
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