Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Amit Taneja Absent Member.
Absent Member.
791 views

Configuring Work Plan status and Project ststus in Time Management

Jump to solution
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!
0 Likes
1 Solution

Accepted Solutions
Semenov Alexand Absent Member.
Absent Member.

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

Jump to solution
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.
6 Replies
Semenov Alexand Absent Member.
Absent Member.

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

Jump to solution
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 Absent Member.
Absent Member.

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

Jump to solution
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.
0 Likes
Semenov Alexand Absent Member.
Absent Member.

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

Jump to solution
Hi Amit.
Try this:
PROJECT_ID="[REQ.P.REQUEST_ID]" STATUS='ACTIVE'
Good Luck
0 Likes
Chandramohan Mo Absent Member.
Absent Member.

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

Jump to solution
Hi Amit,

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

ksc_update_workplan_status STATUS="ACTIVE"
0 Likes
Amit Taneja Absent Member.
Absent Member.

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

Jump to solution
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
0 Likes
Highlighted
Akhilesh Jha
Visitor.

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

Jump to solution

Hi Amit,

 

Because the parameter to be passed is "Project ID" and not "Request ID"

 

Regards,

Akhilesh

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.