Jobs Submitted Using the Integration API are Stuck in Pending Status
(Doc ID 2380061.1)
Last updated on SEPTEMBER 11, 2019
Applies to:
Primavera P6 Professional Project Management - Version 15.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
Schedule job launched from the Primavera API is stuck in pending status. This can also happen with other jobs created using the API JobManager like Level, Summarize, Apply Actuals, Recalculate Assignment Costs, and Store Period Performance.
STEPS
-----------------------
The issue can be reproduced with the following steps:
1, Run the code like the following:
JobManager job = session.getJobManager();
JobId jId = job.schedule(proj, schDt);
while(job.getJobStatus(jId)!=com.primavera.integration.client.bo.enm.JobStatus.COMPLETE && job.getJobStatus(jId)!=com.primavera.integration.client.bo.enm.JobStatus.FAILED) {
Thread.sleep(500);
}
2. Loop never completes
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |