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

Configuring Work Plan status and Project ststus in Time Management

SOLVED
Go to solution
Highlighted
Amit Taneja
Super Collector

Configuring Work Plan status and Project ststus in Time Management

Hello,
We are in the process of configuring Time Management. With almost everything in place, one of the final solution I am looking at is to automate the project status update with work plas task status. When the project status is changed from "In Planning" to "In Progress", then the associated work plan's top level summary task status should also be updated from "In Planning" to "Active".
What would be the best option to configure this? Should we add an execution step in the project workflow and create special command?
Any guidance would be really appreciated. A snapshot is also enclosed as a reference.

Thanks!
5 REPLIES
Semenov Alexand
Esteemed Contributor
Solution

Re: Configuring Work Plan status and Project ststus in Time Management

Hi Amit.
Yes,you need add an execution step in the project workflow and create special command. For best way you need create a new WF by copy from old WF.
Amit Taneja
Super Collector

Re: Configuring Work Plan status and Project ststus in Time Management

Thanks Semenov. You are bang on target. Could you review and pointout the error in my commands elow due to which I am not able to perform the expected? The snapshots as attachment is enclosed for your reference. And thank you for your review.

I did create an execution step between "In Progress" and "In Planning" steps in the workflow.
The special command used is:
Change Project Status

Command Step:
ksc_run_java com.kintana.core.server.execution.SetWorkPlanStatus
-project [REQ.P.KNTA_PROJECT_PLAN] -status [P.P_STATUS] -user [SYS.USER_ID]

Workflow execution step:
Execution Type: Workflow Step Commands
Validation: WF - Standard Execution Results w/ Reset, Abort
Command: Update Work Plan Status
Command Steps: ksc_update_workplan_status PROJECT_ID="[REQ.REQUEST_ID]" STATUS='ACTIVE'

However, it didn't change the work plan top level summary task status from 'In Planning' to 'Active' even though the project status was changed.

Attachment - Snapshots
Thanks.
Semenov Alexand
Esteemed Contributor

Re: Configuring Work Plan status and Project ststus in Time Management

Hi Amit.
Try this:
PROJECT_ID="[REQ.P.REQUEST_ID]" STATUS='ACTIVE'
Good Luck
Chandramohan Mo
Acclaimed Contributor

Re: Configuring Work Plan status and Project ststus in Time Management

Hi Amit,

Try command as below. I tried and it is working fine.

ksc_update_workplan_status STATUS="ACTIVE"
Amit Taneja
Super Collector

Re: Configuring Work Plan status and Project ststus in Time Management

Thank you ChandraMohan. I was able to figure that out.

I had a question for Semenov, why was I not able to use the command Semenov had suggested -
PROJECT_ID="[REQ.P.REQUEST_ID]" STATUS='ACTIVE'

I have used the same one which apparently was also the one used by ChandraMohan. The command is:
ksc_update_workplan_status STATUS="ACTIVE"

I was also able to find this solution to previous thread in July.
This, I hope will help lots of people as this is an undocumented command.
Good Luck
//Add this to "OnDomLoad" event