CreateProcessRequest - PeopleCode Commands Directory
CreateProcessRequest
Usage:
&processRequest=CreateProcessRequest( [&ProcessTypeString, &ProcessName] );
Description:
Returns reference to new process request, blank or set up. Use &processRequest.Schedule(); after
If this has not answered your question - either search on Google or ask a question below:
Create a simple Launch Page for your PeopleSoft Databases
Comment: CreateProcessRequest()
Local ProcessRequest &RQST; Local string &Subject; Local string &Text;
&Subject = "Subject of Email";
&Text = "This text will be displayed as the text of this email ";
&RQST = CreateProcessRequest();
&RQST.RunControlID = "MYRUNCONTROL_ID";
&RQST.ProcessName = "PROCESSNAME";
&RQST.RunLocation = "PSNT";
&RQST.ProcessType = "SQR";
&RQST.OutDestType = "Email";
&RQST.OutDestFormat = "PDF";
&RQST.OutDest = "User : PS,Role : PeopleSoft User";
&RQST.EmailSubject = &Subject;
&RQST.EmailText = &Text;
&RQST.EmailAttachLog = False;
&RQST.Schedule();
Comment: CreateProcessRequest()
Local ProcessRequest &RQST; Local string &Subject; Local string &Text;
&Subject = "Subject of Email";
&Text = "This text will be displayed as the text of this email ";
&RQST = CreateProcessRequest();
&RQST.RunControlID = "MYRUNCONTROL_ID";
&RQST.ProcessName = "PROCESSNAME";
&RQST.RunLocation = "PSNT";
&RQST.ProcessType = "SQR";
&RQST.OutDestType = "Email";
&RQST.OutDestFormat = "PDF";
&RQST.OutDest = "User : PS,Role : PeopleSoft User";
&RQST.EmailSubject = &Subject;
&RQST.EmailText = &Text;
&RQST.EmailAttachLog = False;
&RQST.Schedule();
|