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

How to use "ksc_create_workplan" command?

Highlighted
Semenov Alexand
Esteemed Contributor

How to use "ksc_create_workplan" command?

Does anyone know how to use "ksc_create_workplan" command?
I need create work plan from template automaticly on 1-t step project WF.
Thanks
5 REPLIES
Kisman
Acclaimed Contributor

Re: How to use "ksc_create_workplan" command?

Hi there,

You can use the create worklplan command as the following, where 30080 is the template id.

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

I hope it helps.

Good day.
Semenov Alexand
Esteemed Contributor

Re: How to use "ksc_create_workplan" command?

Thanks Kisman.
It's workin only in manual state. I need automaticly create work plan without pressing any buttons
Krupa Shah
Acclaimed Contributor

Re: How to use "ksc_create_workplan" command?

Hi Semenov,

Try the following...

ksc_run_java com.kintana.core.server.execution.CreateWorkplan -projectId "[REQ.P.KNTA_PROJECT_PLAN]" -overrideWpTemplateId "[REQ.P.WP_TEMPLATE_ID]"
Semenov Alexand
Esteemed Contributor

Re: How to use "ksc_create_workplan" command?

Krupa, thanks.
I try this
Chandramohan Mo
Acclaimed Contributor

Re: How to use "ksc_create_workplan" command?

Hi,

Try as below. It will work.

ksc_update_workplan_status STATUS="ACTIVE"

Thank you,
Chandru
//Add this to "OnDomLoad" event