Code snippet to schedule a new process request from peoplecode.

This is an asynchronous call versus the CallAppEngine function call.
&NewProcessRequest = CreateProcessRequest();
&NewProcessRequest.ProcessType = "Application Engine/SQR/YOur process Type";
&NewProcessRequest.ProcessName = "";
&NewProcessRequest.RunControlID = Substring(String(Rand() * Rand() * Rand()), 1, 5);
&NewProcessRequest.Schedule();

No comments:

Post a Comment