Aqualogic Interaction API  
 

IPTScheduledOperation.ScheduleImmediateJob Method 

Called by applications to create a new job that should run immediately on the next available Automation Server running jobs stored in the intrinsic admin folder, whose folder id is well-known as PT_ADMIN_FOLDER_INTRINSICOPS.

Note that the user must have activity rights to schedule jobs. Otherwise, -1 will be returned.
int ScheduleImmediateJob();

Return Value

the newly created job object id or -1 if a failure occurs

See Also

IPTScheduledOperation Interface | com.plumtree.server Namespace