Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

error when running the command ksc_create_workplan

Highlighted
AndersonPorcari
Acclaimed Contributor

error when running the command ksc_create_workplan

Hello!

 

Created a step execution at the beginning of my workflow flow for creating the work plan automatic.

 

the command in this format was:

 

ksc_create_workplan PROJECT_ID="[REQ.P.KNTA_PROJECT_PLAN]" OVERRIDE_TEMPLATE_ID="45081"

 

But unfortunately it reports the following error:

 

=================================================================================

Running command: com.kintana.core.server.execution.CreateWorkplan -projectId "39288" -overrideWpTemplateId "45081"
The following Command Step is not subject to timing out: com.kintana.core.server.execution.CreateWorkplan
Configuring connection...
Ready to create workplan from Project: 39288
Unable to create workplan for project39288
Unable to create workplan with project id:39288

 ==================================================================================

 

IDs are correct, but he leaves the step as failure. Anyone ever seen this error?

 

Thank you very much!

1 REPLY
mike_se
HPE Expert

Re: error when running the command ksc_create_workplan

Hi,

 

Check the ID's again as we have seen this error when the ID's not right.

 

Looks like there are Request ID's and Project ID's (see below).

 

I believe you are taking the Request ID in this case.

 

-Mike

 

__________________________________________

 

30183 is in the excution log. (Project created successfully with new ID = 30183, this is from table PM_Projects)

30271 is on the project list page as Project No ( This should be the pfm_request_id , not project_id).

For the command ksc_create_workplan, we need project id and template id. The project id is from table PM_Projects.

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
//Add this to "OnDomLoad" event